1
0
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:
secretr 2012-03-15 10:07:00 +00:00
parent 0910e76327
commit 7791f50eef

View File

@ -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);
}