mirror of
https://github.com/e107inc/e107.git
synced 2025-04-13 09:01:59 +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:
commit
22cd9fad00
@ -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']))
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user