Skip to content

Commit e4a1372

Browse files
committed
Fix Syntax error, wrong commit!
1 parent cf9cd56 commit e4a1372

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

admin/admin_config.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -198,17 +198,17 @@
198198
'attrleaflet' => get_boolean($_POST['osm_attrleaflet']),
199199
'attrimagery' => get_boolean($_POST['osm_attrimagery']),
200200
'attrplugin' => get_boolean($_POST['osm_attrplugin']),
201-
'mapquestapi' => $_POST['osm_mapquestapi']),
202-
),
203-
'pin' => array(
201+
'mapquestapi' => $_POST['osm_mapquestapi'],
202+
),
203+
'pin' => array(
204204
'pin' => $_POST['osm_pin'],
205205
'pinpath' => $_POST['osm_pinpath'],
206206
'pinsize' => $_POST['osm_pinsize'],
207207
'pinshadowpath' => $_POST['osm_pinshadowpath'],
208208
'pinshadowsize' => $_POST['osm_pinshadowsize'],
209209
'pinoffset' => $_POST['osm_pinoffset'],
210210
'pinpopupoffset' => $_POST['osm_pinpopupoffset'],
211-
),
211+
),
212212
);
213213

214214
// Update config to DB

include/functions_map.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -140,10 +140,10 @@ function osm_get_items($page)
140140
$LIMIT_SEARCH="";
141141
$INNER_JOIN="";
142142

143-
foreach (array('min_lat', 'min_lng', 'max_lat', 'max_lng') as $get_key)
144-
{
145-
check_input_parameter($get_key, $_GET, false, '/^\d+(\.\d+)?$/');
146-
}
143+
foreach (array('min_lat', 'min_lng', 'max_lat', 'max_lng') as $get_key)
144+
{
145+
check_input_parameter($get_key, $_GET, false, '/^\d+(\.\d+)?$/');
146+
}
147147

148148
/* Delete all previous album */
149149
$query="SELECT `id` FROM ".CATEGORIES_TABLE." WHERE `name` = 'Locations' AND `comment` LIKE '%OSM plugin%';";

0 commit comments

Comments
 (0)