Commit 003e6ad1 authored by zYne's avatar zYne

--no commit message

--no commit message
parent bcb31fc2
...@@ -1478,7 +1478,7 @@ abstract class Doctrine_Record extends Doctrine_Record_Abstract implements Count ...@@ -1478,7 +1478,7 @@ abstract class Doctrine_Record extends Doctrine_Record_Abstract implements Count
} }
public function __call($method, $args) public function __call($method, $args)
{ {
foreach ($this->_table->getTemplates as $template) { foreach ($this->_table->getTemplates() as $template) {
if (method_exists($template, $method)) { if (method_exists($template, $method)) {
return call_user_func_array(array($template, $method), $args); return call_user_func_array(array($template, $method), $args);
} }
......
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