mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-26 21:01:30 +02:00
disable permanent error-log
This commit is contained in:
parent
cad9521d02
commit
8c2bdf8d0f
@ -135,7 +135,7 @@ class etemplate_widget_customfields extends etemplate_widget_transformer
|
|||||||
$field_filter = explode(',', $this->attrs['field_names']);
|
$field_filter = explode(',', $this->attrs['field_names']);
|
||||||
}
|
}
|
||||||
$fields = $customfields;
|
$fields = $customfields;
|
||||||
|
|
||||||
$use_private = self::expand_name($this->attrs['use-private'],0,0);
|
$use_private = self::expand_name($this->attrs['use-private'],0,0);
|
||||||
foreach((array)$fields as $key => $field)
|
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 =& self::get_array($validated, $this->id ? $form_name : $field, true);
|
||||||
|
|
||||||
$valid = is_array($value) ? implode(',',$value) : $value;
|
$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') {
|
} elseif ($this->type == 'customfields-types') {
|
||||||
// Transformation doesn't handle validation
|
// Transformation doesn't handle validation
|
||||||
$valid =& self::get_array($validated, $this->id ? $form_name : $field, true);
|
$valid =& self::get_array($validated, $this->id ? $form_name : $field, true);
|
||||||
$valid = $value_in;
|
$valid = $value_in;
|
||||||
error_log(__METHOD__."() $form_name $field: ".array2string($value).' --> '.array2string($value));
|
//error_log(__METHOD__."() $form_name $field: ".array2string($value).' --> '.array2string($value));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user