From 0645938283a66c9ce769e4ca56c38918f2f9668c Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 27 Dec 2015 18:26:21 +0100 Subject: [PATCH] FIX #4230 PHP7 error --- htdocs/compta/bank/class/account.class.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/htdocs/compta/bank/class/account.class.php b/htdocs/compta/bank/class/account.class.php index 65661b3cce8..8c2b725f8d2 100644 --- a/htdocs/compta/bank/class/account.class.php +++ b/htdocs/compta/bank/class/account.class.php @@ -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;