Commit 1c249644 authored by jackbravo's avatar jackbravo

Added toString method to avoid some errors

parent bd612715
...@@ -94,4 +94,9 @@ class Doctrine_Expression ...@@ -94,4 +94,9 @@ class Doctrine_Expression
return $this->_expression; return $this->_expression;
} }
public function __toString()
{
return $this->getSql();
}
} }
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