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:38:55 +00:00
parent 98692acb09
commit 1266aeb52a

View File

@ -398,7 +398,7 @@ class etemplate_widget
} }
if ($respect_disabled && ($disabled = $this->attrs['disabled'] && self::check_disabled($this->attrs['disabled'], $expand))) 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; return;
} }
if (method_exists($this, $method_name)) if (method_exists($this, $method_name))