1
0
mirror of https://github.com/e107inc/e107.git synced 2025-05-03 02:38:06 +02:00

e_model - strict comparison required

This commit is contained in:
secretr 2010-12-29 13:39:15 +00:00
parent cc3d7a4f55
commit da7a567c51

View File

@ -2,15 +2,13 @@
/*
* e107 website system
*
* Copyright (C) 2008-2009 e107 Inc (e107.org)
* Copyright (C) 2008-2010 e107 Inc (e107.org)
* Released under the terms and conditions of the
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
*
* e107 Base Model
*
* $Source: /cvs_backup/e107_0.8/e107_handlers/model_class.php,v $
* $Revision$
* $Date$
* $Id$
* $Author$
*/
@ -270,7 +268,7 @@ class e_object
*/
public function setParam($key, $value)
{
if(null == $value)
if(null === $value)
{
unset($this->_params[$key]);
}