[pLog-svn] r6855 - plog/branches/lifetype-1.2/class/action/admin
jondaley at devel.lifetype.net
jondaley at devel.lifetype.net
Sat Apr 11 14:38:02 EDT 2009
Author: jondaley
Date: 2009-04-11 14:38:02 -0400 (Sat, 11 Apr 2009)
New Revision: 6855
Modified:
plog/branches/lifetype-1.2/class/action/admin/adminupdateglobalsettingsaction.class.php
Log:
we trim it, so we don't need to check all these cases
Modified: plog/branches/lifetype-1.2/class/action/admin/adminupdateglobalsettingsaction.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/action/admin/adminupdateglobalsettingsaction.class.php 2009-04-11 18:19:59 UTC (rev 6854)
+++ plog/branches/lifetype-1.2/class/action/admin/adminupdateglobalsettingsaction.class.php 2009-04-11 18:38:02 UTC (rev 6855)
@@ -66,7 +66,7 @@
$array = Array();
foreach(explode( "\r\n", $this->_newConfigOpts["xmlrpc_ping_hosts"] ) as $host ) {
trim($host);
- if( $host != "" && $host != "\r\n" && $host != "\r" && $host != "\n" )
+ if($host != "")
array_push( $array, $host );
}
$this->_newConfigOpts["xmlrpc_ping_hosts"] = $array;
More information about the pLog-svn
mailing list