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

List:       gallery-checkins
Subject:    [Gallery-checkins] CVS: gallery2/modules/core/classes GalleryPhotoItem.class,1.12,1.13
From:       Bharat Mediratta <bharat () users ! sourceforge ! net>
Date:       2003-03-24 5:25:26
[Download RAW message or body]

Update of /cvsroot/gallery/gallery2/modules/core/classes
In directory sc8-pr-cvs1:/tmp/cvs-serv28612/modules/core/classes

Modified Files:
	GalleryPhotoItem.class 
Log Message:
If there's no toolkit specified at creation time, make the image dimensions 0x0

Index: GalleryPhotoItem.class
===================================================================
RCS file: /cvsroot/gallery/gallery2/modules/core/classes/GalleryPhotoItem.class,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- GalleryPhotoItem.class	12 Mar 2003 11:20:20 -0000	1.12
+++ GalleryPhotoItem.class	24 Mar 2003 05:25:24 -0000	1.13
@@ -138,6 +138,8 @@
 		$ret->addErrorCode(ERROR_BAD_DATA_TYPE);
 		return $ret->wrap(__FILE__, __LINE__);
 	    }
+	} else {
+	    $dimensions = array(0, 0);
 	}
 
 	/* Create our data item */



-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
__[ 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