svn commit: r419 - trunk/mapbender/http/php/mod_exportElement.php

astrid_emde at osgeo.org astrid_emde at osgeo.org
Mon Jun 12 07:42:43 EDT 2006


Author: astrid_emde
Date: 2006-06-12 11:42:42+0000
New Revision: 419

Modified:
   trunk/mapbender/http/php/mod_exportElement.php

Log:
There were errors in the sqls.

,, will be replaced ,NULL,

; was missing

Modified: trunk/mapbender/http/php/mod_exportElement.php
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/php/mod_exportElement.php?view=diff&rev=419&p1=trunk/mapbender/http/php/mod_exportElement.php&p2=trunk/mapbender/http/php/mod_exportElement.php&r1=418&r2=419
==============================================================================
--- trunk/mapbender/http/php/mod_exportElement.php	(original)
+++ trunk/mapbender/http/php/mod_exportElement.php	2006-06-12 11:42:42+0000
@@ -67,26 +67,26 @@
       $insert .=  "e_requires, ";
       $insert .=  "e_url";
    $insert .=  ") VALUES(";
-      $insert .=  "'".$row["fkey_gui_id"]."', ";
-      $insert .=  "'".$row["e_id"]."', ";
-      $insert .=  "'".$row["e_pos"]. "', ";
-      $insert .=  "'".$row["e_public"]. "', ";
-      $insert .=  "'".db_escape_string($row["e_comment"])."', ";
-      $insert .=  "'".$row["e_element"]."', ";
-      $insert .=  "'".$row["e_src"]."', ";
-      $insert .=  "'".db_escape_string($row["e_attributes"])."', ";
-      $insert .=  "'".$row["e_left"]. "', ";
-      $insert .=  "'".$row["e_top"]. "', ";
-      $insert .=  "'".$row["e_width"]. "', ";
-      $insert .=  "'".$row["e_height"]. "', ";
-      $insert .=  "'".$row["e_z_index"]. "', ";
-      $insert .=  "'".$row["e_more_styles"]."', ";
-      $insert .=  "'".db_escape_string($row["e_content"])."', ";
-      $insert .=  "'".$row["e_closetag"]."', ";
-      $insert .=  "'".$row["e_js_file"]."', ";
-      $insert .=  "'".$row["e_mb_mod"]."', ";
-      $insert .=  "'".$row["e_target"]."', ";
-      $insert .=  "'".$row["e_requires"]."', ";
+      $insert .=  "'".$row["fkey_gui_id"]."',";
+      $insert .=  "'".$row["e_id"]."',";
+      $insert .=  "".$row["e_pos"]. ",";
+      $insert .=  "".$row["e_public"]. ",";
+      $insert .=  "'".db_escape_string($row["e_comment"])."',";
+      $insert .=  "'".$row["e_element"]."',";
+      $insert .=  "'".$row["e_src"]."',";
+      $insert .=  "'".db_escape_string($row["e_attributes"])."',";
+      $insert .=  "".$row["e_left"]. ",";
+      $insert .=  "".$row["e_top"]. ",";
+      $insert .=  "".$row["e_width"]. ",";
+      $insert .=  "".$row["e_height"]. ",";
+      $insert .=  "".$row["e_z_index"]. ",";
+      $insert .=  "'".$row["e_more_styles"]."',";
+      $insert .=  "'".db_escape_string($row["e_content"])."',";
+      $insert .=  "'".$row["e_closetag"]."',";
+      $insert .=  "'".$row["e_js_file"]."',";
+      $insert .=  "'".$row["e_mb_mod"]."',";
+      $insert .=  "'".$row["e_target"]."',";
+      $insert .=  "'".$row["e_requires"]."',";
       $insert .=  "'".$row["e_url"]."'";
    $insert .=  ");\n";
    $insert = str_replace(",,", ",NULL ,", $insert);




More information about the Mapbender_commits mailing list