[Mapbender-commits] r8275 - trunk/mapbender/http/php
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Mon Mar 5 09:51:58 EST 2012
Author: armin11
Date: 2012-03-05 06:51:57 -0800 (Mon, 05 Mar 2012)
New Revision: 8275
Modified:
trunk/mapbender/http/php/mod_callMetadata.php
Log:
Bugfix
Modified: trunk/mapbender/http/php/mod_callMetadata.php
===================================================================
--- trunk/mapbender/http/php/mod_callMetadata.php 2012-03-05 14:51:29 UTC (rev 8274)
+++ trunk/mapbender/http/php/mod_callMetadata.php 2012-03-05 14:51:57 UTC (rev 8275)
@@ -31,7 +31,7 @@
$timeEnd = NULL;
$regTimeBegin = NULL;
$regTimeEnd = NULL;
-$maxResults = 5;
+$maxResults = 20;
#$searchBbox = "-180.0,-90.0,180.0,90.0";
$searchBbox = NULL;
$searchTypeBbox = "intersects"; //outside / inside
@@ -312,9 +312,9 @@
$resultTarget = $testMatch;
$testMatch = NULL;
}
-$e = new mb_exception("UserID GET: ".$_REQUEST['userId']);
-$e = new mb_exception("UserID from session (new): ".Mapbender::session()->get("mb_user_id"));
-$e = new mb_exception("UserID from session (old): ".$_SESSION['mb_user_id']);
+//$e = new mb_exception("UserID GET: ".$_REQUEST['userId']);
+//$e = new mb_exception("UserID from session (new): ".Mapbender::session()->get("mb_user_id"));
+//$e = new mb_exception("UserID from session (old): ".$_SESSION['mb_user_id']);
if (isset($_REQUEST["userId"]) & $_REQUEST["userId"] != "") {
//validate integer to 100 - not more
@@ -465,7 +465,7 @@
array_push($t,"i");
}
$sql .= ")";
- $e = new mb_exception("php/mod_callMetadata.php: sql for getting inspire cats: ".$sql);
+ //$e = new mb_exception("php/mod_callMetadata.php: sql for getting inspire cats: ".$sql);
$res = db_prep_query($sql,$v,$t);
$countInspireArray = 0;
while($row = db_fetch_array($res)){
@@ -488,7 +488,7 @@
array_push($t,"i");
}
$sql .= ")";
- $e = new mb_exception("php/mod_callMetadata.php: sql for getting custom cats: ".$sql);
+ //$e = new mb_exception("php/mod_callMetadata.php: sql for getting custom cats: ".$sql);
$res = db_prep_query($sql,$v,$t);
$countCustomArray = 0;
while($row = db_fetch_array($res)){
More information about the Mapbender_commits
mailing list