Fix: duplicate function
This commit is contained in:
parent
76b8ff9416
commit
ea02bdf85e
@ -510,17 +510,6 @@ class ExtraFields
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Load array of labels
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
function fetch_optionals()
|
||||
{
|
||||
$this->fetch_name_optionals_label();
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Load array this->attribute_xxx like attribute_label, attribute_type, ...
|
||||
*
|
||||
@ -528,7 +517,7 @@ class ExtraFields
|
||||
* @param boolean $forceload Force load of extra fields whatever is option MAIN_EXTRAFIELDS_DISABLED
|
||||
* @return array Array of attributes for all extra fields
|
||||
*/
|
||||
function fetch_name_optionals_label($elementtype='adherent',$forceload=false)
|
||||
function fetch_name_optionals_label($elementtype,$forceload=false)
|
||||
{
|
||||
global $conf;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user