diff --git a/etemplate/inc/class.date_widget.inc.php b/etemplate/inc/class.date_widget.inc.php index afa5c8e886..9db1640860 100644 --- a/etemplate/inc/class.date_widget.inc.php +++ b/etemplate/inc/class.date_widget.inc.php @@ -43,7 +43,7 @@ return 0; } - function pre_process($cell,&$value) + function pre_process(&$cell,&$value,&$templ) { if ($cell['size'] != '') { @@ -73,7 +73,7 @@ return $this->$func($cell,$form_name,$value,$readonly); } - function post_process($cell,&$value) + function post_process(&$cell,&$value,&$templ) { if (!isset($value)) { diff --git a/etemplate/inc/class.datefield_widget.inc.php b/etemplate/inc/class.datefield_widget.inc.php index 83b4b93900..2cea366cf7 100644 --- a/etemplate/inc/class.datefield_widget.inc.php +++ b/etemplate/inc/class.datefield_widget.inc.php @@ -29,7 +29,7 @@ { } - function pre_process(&$cell,&$value) + function pre_process(&$cell,&$value,&$templ) { if ($cell['size'] != '') { @@ -67,7 +67,7 @@ return True; // extra Label is ok } - function post_process($cell,&$value) + function post_process(&$cell,&$value,&$templ) { if (!isset($value)) {