[Mapbender-commits] r4141 - trunk/mapbender/lib

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Wed Jun 24 13:31:21 EDT 2009


Author: uli
Date: 2009-06-24 13:31:21 -0400 (Wed, 24 Jun 2009)
New Revision: 4141

Modified:
   trunk/mapbender/lib/class_mapbender_session.php
Log:
throw exception if someone wants to access a variable that isn't set

Modified: trunk/mapbender/lib/class_mapbender_session.php
===================================================================
--- trunk/mapbender/lib/class_mapbender_session.php	2009-06-24 17:26:26 UTC (rev 4140)
+++ trunk/mapbender/lib/class_mapbender_session.php	2009-06-24 17:31:21 UTC (rev 4141)
@@ -54,6 +54,7 @@
  			return $_SESSION[$name];
  		}
  		else{
+ 			new mb_exception("some want to acces the sessionVariable: ".$name." but it's not set!'");
  			return false;
  		}
  		session_write_close();



More information about the Mapbender_commits mailing list