mirror of
https://github.com/e107inc/e107.git
synced 2025-08-06 06:38:00 +02:00
strickt check, avoid confusions
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user