[Mapbender-commits] r1199 - trunk/mapbender/http/php
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Wed Mar 7 05:06:22 EST 2007
Author: christoph
Date: 2007-03-07 05:06:22 -0500 (Wed, 07 Mar 2007)
New Revision: 1199
Modified:
trunk/mapbender/http/php/mod_createJSObjFromDB.php
Log:
removed obsolete variable $cnt
Modified: trunk/mapbender/http/php/mod_createJSObjFromDB.php
===================================================================
--- trunk/mapbender/http/php/mod_createJSObjFromDB.php 2007-03-07 10:05:33 UTC (rev 1198)
+++ trunk/mapbender/http/php/mod_createJSObjFromDB.php 2007-03-07 10:06:22 UTC (rev 1199)
@@ -28,11 +28,10 @@
$v = array($_SESSION["mb_user_gui"]);
$t = array('s');
$res = db_prep_query($sql,$v,$t);
-$cnt = 0;
+
while($row = db_fetch_array($res)){
$mywms = new wms();
$mywms->createObjFromDB($_SESSION["mb_user_gui"],$row["fkey_wms_id"]);
$mywms->createJsObjFromWMS();
- $cnt++;
}
?>
\ No newline at end of file
More information about the Mapbender_commits
mailing list