Fix new params has been added not optional

This commit is contained in:
atm-ph 2018-11-19 15:46:30 +01:00
parent f3228dc4f8
commit 129034ba76

View File

@ -5053,7 +5053,7 @@ abstract class CommonObject
* @return int -1=error, O=did nothing, 1=OK
* @see setValueFrom, insertExtraFields
*/
function updateExtraField($key, $trigger, $userused)
function updateExtraField($key, $trigger=null, $userused=null)
{
global $conf,$langs,$user;