quiten permanennt error_log in etemplate_widget::run, if widget is disabled, and therefore not running

This commit is contained in:
Ralf Becker 2014-07-24 09:39:27 +00:00
parent ba316c51c9
commit a4f21dbf00

View File

@ -398,7 +398,7 @@ class etemplate_widget
}
if ($respect_disabled && ($disabled = $this->attrs['disabled'] && self::check_disabled($this->attrs['disabled'], $expand)))
{
error_log(__METHOD__."('$method_name', ".array2string($params).', '.array2string($respect_disabled).") $this disabled='{$this->attrs['disabled']}'=".array2string($disabled).": NOT running");
//error_log(__METHOD__."('$method_name', ".array2string($params).', '.array2string($respect_disabled).") $this disabled='{$this->attrs['disabled']}'=".array2string($disabled).": NOT running");
return;
}
if (method_exists($this, $method_name))