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

List:       gallery-checkins
Subject:    [Gallery-checkins] CVS: gallery/classes Album.php,1.77,1.78
From:       Bharat Mediratta <bharat () users ! sourceforge ! net>
Date:       2002-10-31 18:41:27
[Download RAW message or body]

Update of /cvsroot/gallery/gallery/classes
In directory usw-pr-cvs1:/tmp/cvs-serv13211

Modified Files:
	Album.php 
Log Message:
Album.php

Index: Album.php
===================================================================
RCS file: /cvsroot/gallery/gallery/classes/Album.php,v
retrieving revision 1.77
retrieving revision 1.78
diff -u -r1.77 -r1.78
--- Album.php	31 Oct 2002 17:56:38 -0000	1.77
+++ Album.php	31 Oct 2002 18:41:22 -0000	1.78
@@ -146,10 +146,12 @@
 		 * the album version is older than the feature.
 		 */
 		if ($this->version < 5) {
+		    if (!empty($this->fields['perms']['canRead'])) {
 			foreach ($this->fields['perms']['canRead'] as $uid => $p) {
 				$this->fields['perms']['canViewFullImages'][$uid] = $p;
 			}
 			$changed = 1;
+		    }
 		}
 
 		/* Special case for EXIF :-( */



-------------------------------------------------------
This sf.net email is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en
__[ 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