Commit fbba6d1e authored by František Bereň's avatar František Bereň Committed by lucasvanlierop

Update PostgreSqlPlatform.php

parent efa4b3ca
...@@ -716,8 +716,7 @@ class PostgreSqlPlatform extends AbstractPlatform ...@@ -716,8 +716,7 @@ class PostgreSqlPlatform extends AbstractPlatform
*/ */
public function convertFromBoolean($item) public function convertFromBoolean($item)
{ {
if ( if ((null !== $item) &&
(null !== $item) &&
(false !== $item) && (false !== $item) &&
(true !== $item) && (true !== $item) &&
in_array(strtolower($item), array('false', 'f', 'n', 'no', 'off'), true) in_array(strtolower($item), array('false', 'f', 'n', 'no', 'off'), true)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment