Skip to content

Commit 096548e

Browse files
committed
Fix Undefined variable on photo admin page
1 parent 5796960 commit 096548e

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

admin/admin_photo.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,8 @@
142142
// Easy access
143143
define('osm_place_table', $prefixeTable.'osm_places');
144144
// Save location, eg Place
145+
$list_of_places = [];
146+
$available_places = [];
145147
$query = '
146148
SELECT id, name, latitude, longitude
147149
FROM '.osm_place_table.'

admin/admin_tag.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ Refer to the <a href="https://github.com/xbgmsharp/piwigo-openstreetmap/wiki" ta
7777
<li>
7878
<label>
7979
{'Name of the tag group'|@translate}:
80-
<input type="text" name="osm_taggroup" value="{$sync_options.osm_tag_group}" placeholder="location" required="" />
80+
<input type="text" name="osm_taggroup" value="{$sync_options.osm_tag_group}" placeholder="location" required="" size="30"/>
8181
</label>
8282
</li>
8383
<li>

0 commit comments

Comments
 (0)