From 8c2bdf8d0ffed535d67d99cd8a69bb6aa2fe2d93 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 20 Aug 2013 11:57:44 +0000 Subject: [PATCH] disable permanent error-log --- etemplate/inc/class.etemplate_widget_customfields.inc.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/etemplate/inc/class.etemplate_widget_customfields.inc.php b/etemplate/inc/class.etemplate_widget_customfields.inc.php index 8c0df5baa7..61852094b2 100644 --- a/etemplate/inc/class.etemplate_widget_customfields.inc.php +++ b/etemplate/inc/class.etemplate_widget_customfields.inc.php @@ -135,7 +135,7 @@ class etemplate_widget_customfields extends etemplate_widget_transformer $field_filter = explode(',', $this->attrs['field_names']); } $fields = $customfields; - + $use_private = self::expand_name($this->attrs['use-private'],0,0); foreach((array)$fields as $key => $field) { @@ -281,13 +281,13 @@ class etemplate_widget_customfields extends etemplate_widget_transformer $valid =& self::get_array($validated, $this->id ? $form_name : $field, true); $valid = is_array($value) ? implode(',',$value) : $value; - error_log(__METHOD__."() $form_name $field: ".array2string($value).' --> '.array2string($value)); + //error_log(__METHOD__."() $form_name $field: ".array2string($value).' --> '.array2string($value)); } } elseif ($this->type == 'customfields-types') { // Transformation doesn't handle validation $valid =& self::get_array($validated, $this->id ? $form_name : $field, true); $valid = $value_in; - error_log(__METHOD__."() $form_name $field: ".array2string($value).' --> '.array2string($value)); + //error_log(__METHOD__."() $form_name $field: ".array2string($value).' --> '.array2string($value)); } } }