Added toString method to avoid some errors
This commit is contained in:
parent
bd61271579
commit
1c24964490
@ -94,4 +94,9 @@ class Doctrine_Expression
|
|||||||
|
|
||||||
return $this->_expression;
|
return $this->_expression;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function __toString()
|
||||||
|
{
|
||||||
|
return $this->getSql();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user