[pLog-svn] r2413 - plog/branches/plog-1.0.2/class/config
jondaley at devel.plogworld.net
jondaley at devel.plogworld.net
Thu Aug 18 11:35:09 GMT 2005
Author: jondaley
Date: 2005-08-18 11:35:08 +0000 (Thu, 18 Aug 2005)
New Revision: 2413
Modified:
plog/branches/plog-1.0.2/class/config/configfilestorage.class.php
Log:
Default value would never be used (unless it wasn't set or set to null, exactly opposite of what we want). fixes http://bugs.plogworld.net/view.php?id=680
Modified: plog/branches/plog-1.0.2/class/config/configfilestorage.class.php
===================================================================
--- plog/branches/plog-1.0.2/class/config/configfilestorage.class.php 2005-08-18 11:18:38 UTC (rev 2412)
+++ plog/branches/plog-1.0.2/class/config/configfilestorage.class.php 2005-08-18 11:35:08 UTC (rev 2413)
@@ -244,7 +244,7 @@
{
$value = $this->_props->getValue( $key );
if( $value == "" || $value == null )
- if( !isset( $defaultValue ) || is_null( $defaultValue ) )
+ if(isset($defaultValue))
$value = $defaultValue;
return $value;
More information about the pLog-svn
mailing list