Skip to content

Commit a66b21a

Browse files
authored
Merge pull request #236 from wurststulle/master
fix error message when OSMJS is not present. fixes #229
2 parents 4b70df5 + e211014 commit a66b21a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

picture.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ function osm_insert_map($content)
5959

6060
$search = '#<div id="'. $conf['osm_conf']['right_panel']['add_before'] .'" class="imageInfo">#';
6161
$replacement = '
62-
{if $OSMJS}
62+
{if isset($OSMJS)}
6363
<div id="map-info" class="imageInfo">
6464
<dt {$OSMNAMECSS}>{$OSMNAME}</dt>
6565
<dd>

0 commit comments

Comments
 (0)