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

Update PostgreSqlPlatform.php

updated convert function  to include uppercased values
parent c91e2485
......@@ -720,12 +720,12 @@ class PostgreSqlPlatform extends AbstractPlatform
(null !== $item) &&
(false !== $item) &&
(true !== $item) &&
in_array((string)$item, array('false', 'f', 'n', 'no', 'off'))
in_array(strtolower($item), array('false', 'f', 'n', 'no', 'off'), true)
) {
return false;
} else {
return parent::convertFromBoolean($item);
}
return parent::convertFromBoolean($item);
}
/**
......
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