Browse Source

Fix new params has been added not optional

atm-ph 6 years ago
parent
commit
129034ba76
1 changed files with 1 additions and 1 deletions
  1. 1 1
      htdocs/core/class/commonobject.class.php

+ 1 - 1
htdocs/core/class/commonobject.class.php

@@ -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;