[Mapbender-commits] r2482 - branches/2.5/http/classes
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Thu Jun 5 03:59:43 EDT 2008
Author: uli
Date: 2008-06-05 03:59:43 -0400 (Thu, 05 Jun 2008)
New Revision: 2482
Modified:
branches/2.5/http/classes/class_keyword.php
Log:
changed db_prep_query to db_query in function orphaned for deleting orphaned keywords
Modified: branches/2.5/http/classes/class_keyword.php
===================================================================
--- branches/2.5/http/classes/class_keyword.php 2008-06-05 07:43:07 UTC (rev 2481)
+++ branches/2.5/http/classes/class_keyword.php 2008-06-05 07:59:43 UTC (rev 2482)
@@ -293,7 +293,7 @@
global $con;
$sql = "DELETE FROM keyword WHERE NOT EXISTS (SELECT fkey_keyword_id FROM layer_keyword WHERE keyword.keyword_id = layer_keyword.fkey_keyword_id);";
//$sql .= " AND NOT EXISTS (SELECT fkey_keyword_id FROM wms_keyword WHERE keyword.keyword_id = wms_keyword.fkey_keyword_id);";
- $res = db_prep_query($sql);
+ $res = db_query($sql);
if($res!=FALSE){
return true;
}
More information about the Mapbender_commits
mailing list