Skip to content

Commit c9425d3

Browse files
committed
Fix top menu, city/country. Undefined variable
1 parent e32ac35 commit c9425d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/themes/premium/tpl/top_menu.inc.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070

7171
{if $is_map_enabled}
7272
<li>
73-
<a href="{{ $design->url('map','country','index',$country.PH7_SH.$city) }}" title="{lang 'Users in %0% through the Map!',$city}"><i class="fa fa-map-marker"></i> {lang 'People Nearby'}</a>
73+
<a href="{{ $design->url('map', 'country', 'index', Framework\Geo\Ip\Geo::getCountry() . PH7_SH. Framework\Geo\Ip\Geo::getCity()) }}" title="{lang 'Users nearby through the map!'}"><i class="fa fa-map-marker"></i> {lang 'People Nearby'}</a>
7474
</li>
7575
{/if}
7676
</ul>

0 commit comments

Comments
 (0)