mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-11 00:18:25 +01:00
Stop fatal error about missing argument 2 to textbox
This commit is contained in:
parent
07ff17704f
commit
5b7f804877
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user