[pLog-svn] r2934 - plog/trunk/class/gallery/dao

mark at devel.lifetype.net mark at devel.lifetype.net
Thu Feb 9 17:57:57 GMT 2006


Author: mark
Date: 2006-02-09 17:57:57 +0000 (Thu, 09 Feb 2006)
New Revision: 2934

Modified:
   plog/trunk/class/gallery/dao/galleryresources.class.php
Log:
Fix a typo error.

Modified: plog/trunk/class/gallery/dao/galleryresources.class.php
===================================================================
--- plog/trunk/class/gallery/dao/galleryresources.class.php	2006-02-09 17:28:41 UTC (rev 2933)
+++ plog/trunk/class/gallery/dao/galleryresources.class.php	2006-02-09 17:57:57 UTC (rev 2934)
@@ -252,7 +252,7 @@
 		{
 			$prefix = $this->getPrefix();
 			$table  = "{$prefix}gallery_resources";
-			$cond .= "owner_id = '".Db::qstr( $ownerId )."'";
+			$cond = "owner_id = '".Db::qstr( $ownerId )."'";
             if( $albumId > GALLERY_NO_ALBUM )
             	$cond .= "AND album_id = '".Db::qstr($albumId)."'";
 			if( $resourceType > GALLERY_RESOURCE_ANY )



More information about the pLog-svn mailing list