Merge pull request #27002 from frederic34/patch-10
$user default value cant be int
This commit is contained in:
commit
fdfb061462
1 changed files with 1 additions and 1 deletions
|
|
@ -598,7 +598,7 @@ class ProductCustomerPrice extends CommonObject
|
|||
* @param int $forceupdateaffiliate update price on each soc child
|
||||
* @return int Return integer <0 if KO, >0 if OK
|
||||
*/
|
||||
public function update($user = 0, $notrigger = 0, $forceupdateaffiliate = 0)
|
||||
public function update(User $user, $notrigger = 0, $forceupdateaffiliate = 0)
|
||||
{
|
||||
global $conf, $langs;
|
||||
$error = 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue