mirror of
https://github.com/e107inc/e107.git
synced 2025-07-29 10:50:25 +02:00
Merge pull request #1364 from lonalore/master
Fixed: PHP warning - parse_str() expects parameter 1 to be string, ar…
This commit is contained in:
@@ -106,8 +106,11 @@ class e_form
|
|||||||
|
|
||||||
$class = "";
|
$class = "";
|
||||||
$autoComplete = "";
|
$autoComplete = "";
|
||||||
|
|
||||||
parse_str($options,$options);
|
if(is_string($options))
|
||||||
|
{
|
||||||
|
parse_str($options, $options);
|
||||||
|
}
|
||||||
|
|
||||||
if(vartrue($options['class']))
|
if(vartrue($options['class']))
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user