[pLog-svn] r2412 - plog/branches/plog-1.0.2/class/gallery/dao

jondaley at devel.plogworld.net jondaley at devel.plogworld.net
Thu Aug 18 11:18:38 GMT 2005


Author: jondaley
Date: 2005-08-18 11:18:38 +0000 (Thu, 18 Aug 2005)
New Revision: 2412

Modified:
   plog/branches/plog-1.0.2/class/gallery/dao/galleryalbums.class.php
Log:
fixes http://forums.plogworld.net/viewtopic.php?t=3119

Modified: plog/branches/plog-1.0.2/class/gallery/dao/galleryalbums.class.php
===================================================================
--- plog/branches/plog-1.0.2/class/gallery/dao/galleryalbums.class.php	2005-08-18 06:16:20 UTC (rev 2411)
+++ plog/branches/plog-1.0.2/class/gallery/dao/galleryalbums.class.php	2005-08-18 11:18:38 UTC (rev 2412)
@@ -335,7 +335,8 @@
 			}
 			
             $total = "";
-            if ( array_key_exists( $albumId, $this->_counts ) )
+            
+            if ( $this->_counts && array_key_exists( $albumId, $this->_counts ) )
             {
                 $total = $this->_counts[$albumId];
             }




More information about the pLog-svn mailing list