From 5b7f804877dab9c3aa8e89130daf4e51bb089239 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Mon, 4 Nov 2013 18:57:42 +0000 Subject: [PATCH] Stop fatal error about missing argument 2 to textbox --- .../inc/class.etemplate_widget_historylog.inc.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/etemplate/inc/class.etemplate_widget_historylog.inc.php b/etemplate/inc/class.etemplate_widget_historylog.inc.php index eaf5f43547..3ae0ffa0b6 100644 --- a/etemplate/inc/class.etemplate_widget_historylog.inc.php +++ b/etemplate/inc/class.etemplate_widget_historylog.inc.php @@ -21,12 +21,12 @@ class etemplate_widget_historylog extends etemplate_widget { /** - * Fill type options in self::$request->sel_options to be used on the client - * - * @param string $cname - */ - public function beforeSendToClient($cname) - { + * Fill type options in self::$request->sel_options to be used on the client + * + * @param string $cname + */ + public function beforeSendToClient($cname) + { $form_name = self::form_name($cname, $this->id); if(is_array(self::$request->content[$form_name]['status-widgets'])) @@ -43,7 +43,7 @@ class etemplate_widget_historylog extends etemplate_widget if(method_exists($widget, 'beforeSendToClient')) { - $widget->beforeSendToClient($cname); + $widget->beforeSendToClient($cname,array()); } } else