From 9b357936088a39f9d378b0dce9a7d585b485be01 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Wed, 6 Sep 2017 11:08:23 +0200 Subject: [PATCH] Fix: avoid "Uncaught Error: [] operator not supported for strings" --- htdocs/core/actions_extrafields.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/htdocs/core/actions_extrafields.inc.php b/htdocs/core/actions_extrafields.inc.php index b34cbe886ab..aee2a39e563 100644 --- a/htdocs/core/actions_extrafields.inc.php +++ b/htdocs/core/actions_extrafields.inc.php @@ -14,7 +14,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . * or see http://www.gnu.org/ - * + * * $elementype must be defined. */ @@ -25,6 +25,7 @@ $maxsizestring=255; $maxsizeint=10; +$mesg=array(); $extrasize=GETPOST('size','int'); $type=GETPOST('type','alpha');