mirror of
https://github.com/e107inc/e107.git
synced 2025-07-12 10:36:20 +02:00
e_model - strict comparison required
This commit is contained in:
@ -2,15 +2,13 @@
|
|||||||
/*
|
/*
|
||||||
* e107 website system
|
* 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
|
* Released under the terms and conditions of the
|
||||||
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
|
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
|
||||||
*
|
*
|
||||||
* e107 Base Model
|
* e107 Base Model
|
||||||
*
|
*
|
||||||
* $Source: /cvs_backup/e107_0.8/e107_handlers/model_class.php,v $
|
* $Id$
|
||||||
* $Revision$
|
|
||||||
* $Date$
|
|
||||||
* $Author$
|
* $Author$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -270,7 +268,7 @@ class e_object
|
|||||||
*/
|
*/
|
||||||
public function setParam($key, $value)
|
public function setParam($key, $value)
|
||||||
{
|
{
|
||||||
if(null == $value)
|
if(null === $value)
|
||||||
{
|
{
|
||||||
unset($this->_params[$key]);
|
unset($this->_params[$key]);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user