Commit ee8c1a0a authored by zYne's avatar zYne

boolean parsing updated

parent e80b339d
......@@ -87,10 +87,8 @@ abstract class Doctrine_Query_Condition extends Doctrine_Query_Part
// check that value isn't a string
if (strpos($value, '\'') === false) {
// parse booleans
if ($value == 'true')
$value = 1;
elseif ($value == 'false')
$value = 0;
$value = $this->query->getConnection()
->dataDict->parseBoolean($value);
$a = explode('.', $value);
......
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