From aa20d6d359a35c4cd6341021b4a4cdc436bb39be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Mon, 15 Oct 2018 21:30:57 +0200 Subject: [PATCH 1/2] add errors def in mailman class --- .../mailmanspip/class/mailmanspip.class.php | 20 ++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/htdocs/mailmanspip/class/mailmanspip.class.php b/htdocs/mailmanspip/class/mailmanspip.class.php index de075eb2dc5..848fc9e8d47 100644 --- a/htdocs/mailmanspip/class/mailmanspip.class.php +++ b/htdocs/mailmanspip/class/mailmanspip.class.php @@ -1,11 +1,12 @@ - * Copyright (C) 2002-2003 Jean-Louis Bergamo - * Copyright (C) 2004-2013 Laurent Destailleur - * Copyright (C) 2004 Sebastien Di Cintio - * Copyright (C) 2004 Benoit Mortier - * Copyright (C) 2009 Regis Houssin - * Copyright (C) 2012 Marcos García +/* Copyright (C) 2002-2003 Rodolphe Quiedeville + * Copyright (C) 2002-2003 Jean-Louis Bergamo + * Copyright (C) 2004-2013 Laurent Destailleur + * Copyright (C) 2004 Sebastien Di Cintio + * Copyright (C) 2004 Benoit Mortier + * Copyright (C) 2009 Regis Houssin + * Copyright (C) 2012 Marcos García + * Copyright (C) 2018 Frédéric France * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -48,6 +49,11 @@ class MailmanSpip */ public $error=''; + /** + * @var string[] Array of error strings + */ + public $errors = array(); + public $mladded_ok; public $mladded_ko; public $mlremoved_ok; From 00fdf9d3fd045b76270921f2943ce94e0184f9b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Mon, 15 Oct 2018 21:32:27 +0200 Subject: [PATCH 2/2] Update mailmanspip.class.php --- htdocs/mailmanspip/class/mailmanspip.class.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/htdocs/mailmanspip/class/mailmanspip.class.php b/htdocs/mailmanspip/class/mailmanspip.class.php index 848fc9e8d47..2e6cae459c1 100644 --- a/htdocs/mailmanspip/class/mailmanspip.class.php +++ b/htdocs/mailmanspip/class/mailmanspip.class.php @@ -50,9 +50,9 @@ class MailmanSpip public $error=''; /** - * @var string[] Array of error strings - */ - public $errors = array(); + * @var string[] Array of error strings + */ + public $errors = array(); public $mladded_ok; public $mladded_ko;