1
0
mirror of synced 2025-01-29 19:41:45 +03:00
This commit is contained in:
zYne 2007-08-17 21:24:55 +00:00
parent bcb31fc232
commit 003e6ad163

View File

@ -1478,7 +1478,7 @@ abstract class Doctrine_Record extends Doctrine_Record_Abstract implements Count
}
public function __call($method, $args)
{
foreach ($this->_table->getTemplates as $template) {
foreach ($this->_table->getTemplates() as $template) {
if (method_exists($template, $method)) {
return call_user_func_array(array($template, $method), $args);
}