mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 16:33:17 +01:00
making 1st param for custumfield_widget construct (ui) optional, to avoid warning
This commit is contained in:
parent
6038c002db
commit
9037a6c039
@ -88,7 +88,7 @@ class customfields_widget
|
||||
var $advanced_search;
|
||||
|
||||
|
||||
function __construct($ui,$appname=null)
|
||||
function __construct($ui=null,$appname=null)
|
||||
{
|
||||
$this->appname = $appname ? $appname : $GLOBALS['egw_info']['flags']['currentapp'];
|
||||
$this->customfields = config::get_customfields($this->appname);
|
||||
|
Loading…
Reference in New Issue
Block a user