[pLog-svn] r6461 - plog/trunk/class/dao

mark at devel.lifetype.net mark at devel.lifetype.net
Wed May 14 03:18:04 EDT 2008


Author: mark
Date: 2008-05-14 03:18:04 -0400 (Wed, 14 May 2008)
New Revision: 6461

Modified:
   plog/trunk/class/dao/searchengine.class.php
Log:
Fix search resource error.

Modified: plog/trunk/class/dao/searchengine.class.php
===================================================================
--- plog/trunk/class/dao/searchengine.class.php	2008-05-14 07:15:56 UTC (rev 6460)
+++ plog/trunk/class/dao/searchengine.class.php	2008-05-14 07:18:04 UTC (rev 6461)
@@ -271,7 +271,7 @@
 					$result = $this->searchBlogs( $searchTerms, $status, $includeFuture, $page, $itemsPerPage );
 				break;
 				case SEARCH_GALLERYRESOURCE:
-					$result = $this->searchGalleryResources( '_all_', $searchTerms, $page, $itemsPerPage );
+					$result = $this->searchGalleryResources( -1, $searchTerms, $page, $itemsPerPage );
 				break;
 				default:
 					// search articles and any other value of the $searchType parameter
@@ -383,4 +383,4 @@
 			return( $results );
         }               
     }
-?>
\ No newline at end of file
+?>



More information about the pLog-svn mailing list