[pLog-svn] r3149 - plog/trunk/class/dao
    mark at devel.lifetype.net 
    mark at devel.lifetype.net
       
    Wed Mar 29 12:02:45 GMT 2006
    
    
  
Author: mark
Date: 2006-03-29 12:02:45 +0000 (Wed, 29 Mar 2006)
New Revision: 3149
Modified:
   plog/trunk/class/dao/model.class.php
Log:
revert some code of the last modification. Seems only if($dbobjects) need to modify, and if($dbobject) doesn't need any modification.
Modified: plog/trunk/class/dao/model.class.php
===================================================================
--- plog/trunk/class/dao/model.class.php	2006-03-29 11:40:19 UTC (rev 3148)
+++ plog/trunk/class/dao/model.class.php	2006-03-29 12:02:45 UTC (rev 3149)
@@ -170,7 +170,7 @@
         {
         	$dbObject = $this->_cache->getData( $value, $cacheId );
 
-        	if( !isset( $dbObject ) ) {
+        	if( !$dbObject ) {
 	        	$this->log->debug("get: $field:$value - cache = $cacheId" );
 	        	$query = "SELECT * FROM ".$this->table." WHERE {$field} = '".Db::qstr( $value )."'";
 	        	
    
    
More information about the pLog-svn
mailing list