[Mapbender-commits] r6230 - trunk/mapbender/http/classes

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Mon May 31 09:43:20 EDT 2010


Author: christoph
Date: 2010-05-31 09:43:14 -0400 (Mon, 31 May 2010)
New Revision: 6230

Modified:
   trunk/mapbender/http/classes/class_group.php
Log:


Modified: trunk/mapbender/http/classes/class_group.php
===================================================================
--- trunk/mapbender/http/classes/class_group.php	2010-05-31 13:39:07 UTC (rev 6229)
+++ trunk/mapbender/http/classes/class_group.php	2010-05-31 13:43:14 UTC (rev 6230)
@@ -185,9 +185,10 @@
             $this->owner = $tmpuser->name;
             $this->description	= $row['mb_group_description'];
 
-		}else{
-			 throw new Exception("no such Group");
 		}
+		else{
+			 throw new Exception("Group with ID " . $this->id . " does not exist.");
+		}
 		return true;
 	}
 



More information about the Mapbender_commits mailing list