forked from extern/egroupware
making 1st param for custumfield_widget construct (ui) optional, to avoid warning
This commit is contained in:
parent
7b0942d998
commit
ef6bc0949a
@ -86,7 +86,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