From dd78363f0ffc97afe9c39ce6bdf20c1b1d065ec5 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 19 Sep 2014 20:14:11 +0200 Subject: [PATCH] Fix several bugs reported by scrutinizer --- htdocs/adherents/canvas/actions_adherentcard_common.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/adherents/canvas/actions_adherentcard_common.class.php b/htdocs/adherents/canvas/actions_adherentcard_common.class.php index 9bd164a9b32..79ba8597672 100644 --- a/htdocs/adherents/canvas/actions_adherentcard_common.class.php +++ b/htdocs/adherents/canvas/actions_adherentcard_common.class.php @@ -130,7 +130,7 @@ abstract class ActionsAdherentCardCommon } else { - $this->errors=$nuser->error; + $this->errors[]=$nuser->error; $this->db->rollback(); }