Merge pull request #10041 from atm-ph/fix_8.0_optional_param

Fix new params has been added not optional
This commit is contained in:
Laurent Destailleur
2018-11-19 18:26:21 +01:00
committed by GitHub

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;