[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gallery-checkins
Subject:    [Gallery-checkins] CVS: gallery/classes Album.php,1.79,1.80
From:       Bharat Mediratta <bharat () users ! sourceforge ! net>
Date:       2002-11-29 5:54:47
[Download RAW message or body]

Update of /cvsroot/gallery/gallery/classes
In directory sc8-pr-cvs1:/tmp/cvs-serv26781/classes

Modified Files:
	Album.php 
Log Message:
2002-11-28  Bharat Mediratta  <bharat@menalto.com> 1.3.3-cvs-b1

        * Fixed a bug where when you add a new album at the top level, it moves
          the wrong album to the beginning of the list (instead of the newly
          created one)

        * Fixed a bug where if you hide all the elements of an album, they get
          detached from the album.

        * Added a link to the permissions dialog in the admin dropdown box for 
          nested albums



Index: Album.php
===================================================================
RCS file: /cvsroot/gallery/gallery/classes/Album.php,v
retrieving revision 1.79
retrieving revision 1.80
diff -u -r1.79 -r1.80
--- Album.php	10 Nov 2002 21:57:23 -0000	1.79
+++ Album.php	29 Nov 2002 05:54:45 -0000	1.80
@@ -466,7 +466,7 @@
 		}
 
 		if ($this->transient->photosloaded) {
-			$this->fields["cached_photo_count"] = $this->numPhotos();
+			$this->fields["cached_photo_count"] = $this->numPhotos(1);
 		}
 
 		$transient_photos = $this->photos;



-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power & Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
__[ g a l l e r y - c h e c k i n s ]_________________________

[ list info/archive --> http://gallery.sf.net/lists.php ]
[ gallery info/FAQ/download --> http://gallery.sf.net ]
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic