[pLog-svn] r2318 - plog/branches/plog-1.0.2/class/dao

oscar at devel.plogworld.net oscar at devel.plogworld.net
Thu Jul 14 06:58:38 GMT 2005


Author: oscar
Date: 2005-07-14 06:58:37 +0000 (Thu, 14 Jul 2005)
New Revision: 2318

Modified:
   plog/branches/plog-1.0.2/class/dao/articles.class.php
Log:
fixed http://bugs.plogworld.net/view.php?id=632, since the $page and
$itemsPerPage are not needed when building the WHERE (in mysql they're
part of the "LIMIT xx,yy" thingie), I have removed them from the signature
of the method.


Modified: plog/branches/plog-1.0.2/class/dao/articles.class.php
===================================================================
--- plog/branches/plog-1.0.2/class/dao/articles.class.php	2005-07-14 04:56:06 UTC (rev 2317)
+++ plog/branches/plog-1.0.2/class/dao/articles.class.php	2005-07-14 06:58:37 UTC (rev 2318)
@@ -252,7 +252,7 @@
 		 *
 		 * @private
 		 */
-		function buildWhere( $blogid, $date = -1, $amount = -1, $categoryId = 0, $status = 0, $userId = 0, $maxDate = 0, $searchTerms = "", $page = -1, $itemsPerPage = 15 )
+		function buildWhere( $blogid, $date = -1, $amount = -1, $categoryId = 0, $status = 0, $userId = 0, $maxDate = 0, $searchTerms = "" )
 		{
             $postStatus = $status;
 		    $prefix = $this->getPrefix();




More information about the pLog-svn mailing list