FIX #4230 PHP7 error

This commit is contained in:
Laurent Destailleur 2015-12-27 18:26:21 +01:00
parent a9b52f36e6
commit 0645938283

View File

@ -761,11 +761,12 @@ class Account extends CommonObject
/**
* Delete bank account from database
* Delete bank account from database
*
* @return int <0 if KO, >0 if OK
* @param User $user User deleting
* @return int <0 if KO, >0 if OK
*/
function delete()
function delete($user='')
{
global $conf;