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
commit 1931fd33eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;