mirror of
https://github.com/e107inc/e107.git
synced 2025-03-13 17:09:46 +01:00
strickt check, avoid confusions
This commit is contained in:
parent
0910e76327
commit
7791f50eef
@ -577,7 +577,7 @@ class e_form
|
||||
{
|
||||
if(!is_array($options)) parse_str($options, $options);
|
||||
|
||||
if($option_array == 'yesno')
|
||||
if($option_array === 'yesno')
|
||||
{
|
||||
$option_array = array(1 => LAN_YES, 0 => LAN_NO);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user