Silence error log

This commit is contained in:
Nathan Gray 2013-10-24 17:05:22 +00:00
parent 1e6fcec665
commit 9bdaf0f338

View File

@ -82,7 +82,7 @@ class etemplate_widget_grid extends etemplate_widget_box
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 false; // return
}
if (method_exists($this, $method_name))
@ -132,7 +132,7 @@ class etemplate_widget_grid extends etemplate_widget_box
{
if (in_array($n, $columns_disabled))
{
error_log(__METHOD__."('$method_name', ".array2string($params).', '.array2string($respect_disabled).") $this column $n is disabled: NOT running");
//error_log(__METHOD__."('$method_name', ".array2string($params).', '.array2string($respect_disabled).") $this column $n is disabled: NOT running");
continue; // do NOT run $method_name on disabled columns
}
}