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

oscar at devel.plogworld.net oscar at devel.plogworld.net
Thu Dec 30 16:33:14 GMT 2004


Author: oscar
Date: 2004-12-30 16:33:13 +0000 (Thu, 30 Dec 2004)
New Revision: 627

Modified:
   plog/trunk/class/config/configdbstorage.class.php
Log:
fixed a really shitty bug that had been here basically forever!, in ConfigDbStorage::getValue() when using a $defaultValue parameter

Modified: plog/trunk/class/config/configdbstorage.class.php
===================================================================
--- plog/trunk/class/config/configdbstorage.class.php	2004-12-30 16:23:02 UTC (rev 626)
+++ plog/trunk/class/config/configdbstorage.class.php	2004-12-30 16:33:13 UTC (rev 627)
@@ -144,12 +144,9 @@
 
         	$value = $this->_data[$key];
             if( $value == "" || $value == null )
-            	if( $defaulValue != null )
+            	if( $defaultValue != null )
                 	$value = $defaultValue;
-
-        	//print("getValue - key = $key - value = $value<br/>" );
-            //if( $key == "locales" ) { print("key = $locale - ");print_r($value); }
-
+					
             return $value;
         }
 




More information about the pLog-svn mailing list