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

mark at devel.lifetype.net mark at devel.lifetype.net
Sun Jul 16 10:03:03 GMT 2006


Author: mark
Date: 2006-07-16 10:03:02 +0000 (Sun, 16 Jul 2006)
New Revision: 3726

Modified:
   plog/trunk/class/config/configdbstorage.class.php
Log:
If the config parameter does not exist, we should return the default value. Instead of nothing!!

Modified: plog/trunk/class/config/configdbstorage.class.php
===================================================================
--- plog/trunk/class/config/configdbstorage.class.php	2006-07-16 09:53:02 UTC (rev 3725)
+++ plog/trunk/class/config/configdbstorage.class.php	2006-07-16 10:03:02 UTC (rev 3726)
@@ -142,6 +142,8 @@
                 } else {
                     return $this->_data[$key];
                 }
+            } else {
+            	return $defaultValue;
             }
         }
 



More information about the pLog-svn mailing list