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

Update PostgreSqlPlatform.php

fixed bug when $item was set as bool true value
added 'off' literal
parent d4becf6b
...@@ -716,7 +716,7 @@ class PostgreSqlPlatform extends AbstractPlatform ...@@ -716,7 +716,7 @@ class PostgreSqlPlatform extends AbstractPlatform
*/ */
public function convertFromBoolean($item) public function convertFromBoolean($item)
{ {
if(in_array($item, array('false', 'f', 'n', 'no'))) if(in_array((string)$item, array('false', 'f', 'n', 'no', 'off')))
{ {
return false; return false;
} }
......
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