[pLog-svn] r604 - plog/trunk/class/config

oscar at devel.plogworld.net oscar at devel.plogworld.net
Wed Dec 29 14:35:29 GMT 2004


Author: oscar
Date: 2004-12-29 14:35:29 +0000 (Wed, 29 Dec 2004)
New Revision: 604

Modified:
   plog/trunk/class/config/configfilestorage.class.php
Log:
fixed something that php5 didn't like

Modified: plog/trunk/class/config/configfilestorage.class.php
===================================================================
--- plog/trunk/class/config/configfilestorage.class.php	2004-12-29 14:31:56 UTC (rev 603)
+++ plog/trunk/class/config/configfilestorage.class.php	2004-12-29 14:35:29 UTC (rev 604)
@@ -201,7 +201,7 @@
         {
         	$value = $this->_props->getValue( $key );
             if( $value == "" || $value == null )
-            	if( $defaulValue != null )
+            	if( !isset( $defaultValue ) || is_null( $defaulValue ) )
                 	$value = $defaultValue;
 
             return $value;
@@ -251,4 +251,4 @@
         }
 
 	}
-?>
\ No newline at end of file
+?>




More information about the pLog-svn mailing list