Fix scrutinizer

This commit is contained in:
Laurent Destailleur 2018-01-12 15:26:50 +01:00
parent b45b7a9996
commit 92f8fc8b85

View File

@ -234,7 +234,7 @@ class PaymentDonation extends CommonObject
* @param int $notrigger 0=launch triggers after, 1=disable triggers
* @return int <0 if KO, >0 if OK
*/
function update($user=null, $notrigger=0)
function update($user, $notrigger=0)
{
global $conf, $langs;
$error=0;