[pLog-svn] r3436 - plog/trunk/class/dao/userdata

mark at devel.lifetype.net mark at devel.lifetype.net
Thu May 18 19:44:27 GMT 2006


Author: mark
Date: 2006-05-18 19:44:26 +0000 (Thu, 18 May 2006)
New Revision: 3436

Modified:
   plog/trunk/class/dao/userdata/lifetypeuserdataprovider.class.php
Log:
Fixed getNumUsers().

Modified: plog/trunk/class/dao/userdata/lifetypeuserdataprovider.class.php
===================================================================
--- plog/trunk/class/dao/userdata/lifetypeuserdataprovider.class.php	2006-05-18 16:30:01 UTC (rev 3435)
+++ plog/trunk/class/dao/userdata/lifetypeuserdataprovider.class.php	2006-05-18 19:44:26 UTC (rev 3436)
@@ -266,10 +266,10 @@
         {
             $table = $this->getPrefix()."users";
 			    
+			$where = "";
 	    	if( $status != USER_STATUS_ALL )
 	    		$where = "status = '".Db::qstr($status)."'";
 
-			$where = "";
 	    	if( $searchTerms != "" ) {
 				if( $where != "" )
 					$where .= " AND ";



More information about the pLog-svn mailing list