From 701fad231b96ebfbcec83e3e8ea3c88dc3450f8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=B3na=20Lore?= Date: Wed, 17 Feb 2016 16:43:32 +0100 Subject: [PATCH] Fixed: PHP warning - parse_str() expects parameter 1 to be string, array given... --- e107_handlers/form_handler.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/e107_handlers/form_handler.php b/e107_handlers/form_handler.php index b7dbaea73..6c21cb382 100644 --- a/e107_handlers/form_handler.php +++ b/e107_handlers/form_handler.php @@ -106,8 +106,11 @@ class e_form $class = ""; $autoComplete = ""; - - parse_str($options,$options); + + if(is_string($options)) + { + parse_str($options, $options); + } if(vartrue($options['class'])) {