From ad464d2824161e99a48b58fb845f3bae6b819bfe Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 4 Feb 2014 09:24:17 +0000 Subject: [PATCH] show backtrace in error_log of validation-errors --- etemplate/inc/class.etemplate_widget.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etemplate/inc/class.etemplate_widget.inc.php b/etemplate/inc/class.etemplate_widget.inc.php index 21e6c8ebda..fc333bfb00 100644 --- a/etemplate/inc/class.etemplate_widget.inc.php +++ b/etemplate/inc/class.etemplate_widget.inc.php @@ -782,7 +782,7 @@ class etemplate_widget public static function set_validation_error($name,$error,$cname=null) { // not yet used: if (is_null($cname)) $cname = self::$name_vars; - error_log(__METHOD__."('$name','$error','$cname')"); + error_log(__METHOD__."('$name','$error','$cname') ".function_backtrace()); if ($cname) $name = self::form_name($cname,$name);