[Mapbender-commits] r4819 - branches/2.6/http/classes

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue Oct 20 08:07:30 EDT 2009


Author: christoph
Date: 2009-10-20 08:07:30 -0400 (Tue, 20 Oct 2009)
New Revision: 4819

Modified:
   branches/2.6/http/classes/class_administration.php
Log:
order wms

Modified: branches/2.6/http/classes/class_administration.php
===================================================================
--- branches/2.6/http/classes/class_administration.php	2009-10-20 12:07:05 UTC (rev 4818)
+++ branches/2.6/http/classes/class_administration.php	2009-10-20 12:07:30 UTC (rev 4819)
@@ -458,7 +458,7 @@
      * @return array 	wms ids for the user
      */
 	function getWmsByWmsOwner($user_id){
-		$sql = "SELECT wms_id FROM wms WHERE wms_owner = $1";
+		$sql = "SELECT wms_id FROM wms WHERE wms_owner = $1 ORDER BY wms_id";
 		$v = array($user_id);
 		$t = array('i');
 		$res = db_prep_query($sql,$v,$t);



More information about the Mapbender_commits mailing list