[Phpfreechat-svn] SF.net SVN: phpfreechat: [959] trunk/src
Status: Beta
Brought to you by:
kerphi
From: <ke...@us...> - 2007-02-15 17:38:42
|
Revision: 959 http://svn.sourceforge.net/phpfreechat/?rev=959&view=rev Author: kerphi Date: 2007-02-15 09:38:23 -0800 (Thu, 15 Feb 2007) Log Message: ----------- revert my changes about in_array replacments Modified Paths: -------------- trunk/src/pfcglobalconfig.class.php trunk/src/proxies/log.class.php Modified: trunk/src/pfcglobalconfig.class.php =================================================================== --- trunk/src/pfcglobalconfig.class.php 2007-02-15 17:27:13 UTC (rev 958) +++ trunk/src/pfcglobalconfig.class.php 2007-02-15 17:38:23 UTC (rev 959) @@ -537,7 +537,7 @@ foreach($pfc_configvar as $key => $val) { // the dynamics parameters must not be cached - if (!isset($this->_dyn_params[$key])) + if (!in_array($key,$this->_dyn_params)) $this->$key = $val; } Modified: trunk/src/proxies/log.class.php =================================================================== --- trunk/src/proxies/log.class.php 2007-02-15 17:27:13 UTC (rev 958) +++ trunk/src/proxies/log.class.php 2007-02-15 17:38:23 UTC (rev 959) @@ -33,7 +33,7 @@ function run(&$xml_reponse, $p) { $cmdtocheck = array("send", "me", "notice"); - if ( isset($cmdtocheck[$this->name]) ) + if ( in_array($this->name, $cmdtocheck) ) { $clientid = $p["clientid"]; $param = $p["param"]; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |