[Mapbender-commits] r4082 - trunk/mapbender/http/php
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Tue Jun 23 04:47:37 EDT 2009
Author: astrid_emde
Date: 2009-06-23 04:47:37 -0400 (Tue, 23 Jun 2009)
New Revision: 4082
Modified:
trunk/mapbender/http/php/mod_editElements.php
Log:
http://trac.osgeo.org/mapbender/ticket/473
Modified: trunk/mapbender/http/php/mod_editElements.php
===================================================================
--- trunk/mapbender/http/php/mod_editElements.php 2009-06-23 08:42:01 UTC (rev 4081)
+++ trunk/mapbender/http/php/mod_editElements.php 2009-06-23 08:47:37 UTC (rev 4082)
@@ -180,6 +180,8 @@
if($e_width < 1){$e_width = NULL;}
if($e_height < 1){$e_height = NULL;}
if($e_z_index < 1){$e_z_index = NULL;}
+ if($e_pos == ''){$e_pos = 2;}
+ if($e_public == ''){$e_public = 1;}
$sql = "INSERT INTO gui_element(fkey_gui_id,e_id,e_pos,e_public,e_comment,e_element,e_src,";
$sql .= "e_attributes,e_left,e_top,e_width,e_height,e_z_index,e_more_styles,e_content,";
More information about the Mapbender_commits
mailing list