[Mapbender-commits] r2860 - branches/nimix_dev/http/include

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Mon Aug 18 10:44:53 EDT 2008


Author: nimix
Date: 2008-08-18 10:44:53 -0400 (Mon, 18 Aug 2008)
New Revision: 2860

Modified:
   branches/nimix_dev/http/include/dyn_js.php
Log:
merge

Modified: branches/nimix_dev/http/include/dyn_js.php
===================================================================
--- branches/nimix_dev/http/include/dyn_js.php	2008-08-18 14:44:05 UTC (rev 2859)
+++ branches/nimix_dev/http/include/dyn_js.php	2008-08-18 14:44:53 UTC (rev 2860)
@@ -17,6 +17,8 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
+require_once(dirname(__FILE__)."/../classes/class_mb_exception.php");
+
 if(isset($gui_id))
 {
 	$sql = "SELECT * FROM gui_element_vars WHERE fkey_e_id = $1 AND fkey_gui_id = $2 and var_type='var'";
@@ -47,4 +49,7 @@
 		}
 	}
 }
-?>
\ No newline at end of file
+else {
+	$e = new mb_exception("Application ID not set while retrieving element vars of module " . $e_id);
+}
+?>



More information about the Mapbender_commits mailing list