show backtrace in error_log of validation-errors

This commit is contained in:
Ralf Becker 2014-02-04 09:24:17 +00:00
parent 85cd466eda
commit ad464d2824

View File

@ -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);