Commit 5edd7eaf authored by lucasvanlierop's avatar lucasvanlierop

Used boolean literals definition

parent 9d73f30d
......@@ -813,7 +813,7 @@ class PostgreSqlPlatform extends AbstractPlatform
*/
public function convertFromBoolean($item)
{
if (in_array(strtolower($item), array('false', 'f', 'n', 'no', 'off'), true)) {
if (in_array(strtolower($item), $this->booleanLiterals['false'], true)) {
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