Added toString method to avoid some errors
This commit is contained in:
parent
bd61271579
commit
1c24964490
1 changed files with 5 additions and 0 deletions
|
@ -94,4 +94,9 @@ class Doctrine_Expression
|
|||
|
||||
return $this->_expression;
|
||||
}
|
||||
|
||||
public function __toString()
|
||||
{
|
||||
return $this->getSql();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue