[pLog-svn] r3018 - plog/trunk/class/dao
    oscar at devel.lifetype.net 
    oscar at devel.lifetype.net
       
    Sun Mar  5 16:48:14 GMT 2006
    
    
  
Author: oscar
Date: 2006-03-05 16:48:14 +0000 (Sun, 05 Mar 2006)
New Revision: 3018
Modified:
   plog/trunk/class/dao/blogs.class.php
Log:
fixed a few notices
Modified: plog/trunk/class/dao/blogs.class.php
===================================================================
--- plog/trunk/class/dao/blogs.class.php	2006-03-05 16:47:54 UTC (rev 3017)
+++ plog/trunk/class/dao/blogs.class.php	2006-03-05 16:48:14 UTC (rev 3018)
@@ -147,8 +147,10 @@
                                $page = -1, 
                                $itemsPerPage = DEFAULT_ITEMS_PER_PAGE )
         {
+			$statusCond = "";
             if( $status != BLOG_STATUS_ALL )
                 $statusCond = "status = '".Db::qstr($status)."'";
+			$searchCond = "";
 			if( $searchTerms != "" )
 				$searchCond = $this->getSearchConditions( $searchTerms );
 				
@@ -210,8 +212,10 @@
          */
         function getNumBlogs( $status = BLOG_STATUS_ALL, $searchTerms = "" )
         {
+			$statusCond = "";
             if( $status != BLOG_STATUS_ALL )
                 $statusCond = "status = '".Db::qstr($status)."'";
+			$searchCond = "";
 			if( $searchTerms != "" )
 				$searchCond = $this->getSearchConditions( $searchTerms );
 				
    
    
More information about the pLog-svn
mailing list