[pLog-svn] r6447 - plog/branches/lifetype-1.2/class/gallery/resizers

jondaley at devel.lifetype.net jondaley at devel.lifetype.net
Thu May 8 16:59:45 EDT 2008


Author: jondaley
Date: 2008-05-08 16:59:45 -0400 (Thu, 08 May 2008)
New Revision: 6447

Modified:
   plog/branches/lifetype-1.2/class/gallery/resizers/gallerygdresizer.class.php
Log:
don't throw an exception, just return false when trying to generate an unknown format.  fixes  http://bugs.lifetype.net/view.php?id=1509

Modified: plog/branches/lifetype-1.2/class/gallery/resizers/gallerygdresizer.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/gallery/resizers/gallerygdresizer.class.php	2008-05-08 15:53:00 UTC (rev 6446)
+++ plog/branches/lifetype-1.2/class/gallery/resizers/gallerygdresizer.class.php	2008-05-08 20:59:45 UTC (rev 6447)
@@ -89,9 +89,7 @@
 
             }
             else {
-            	// not a recognized format
-                throw( new Exception( "Trying to generate a thumbnail of an unsupported format!"));
-                //die();
+                return false;
             }
 
             // check for errors



More information about the pLog-svn mailing list