From 9eebdaf9ea41eec7fb5785e717d7c7225120e62a Mon Sep 17 00:00:00 2001 From: Nicolas Boisselier Date: Sat, 6 Jan 2018 17:01:59 +0000 Subject: [PATCH] /opt/nb/lib/php/maps.php --- lib/php/maps.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/php/maps.php b/lib/php/maps.php index 66a87647..58497bb4 100644 --- a/lib/php/maps.php +++ b/lib/php/maps.php @@ -6,15 +6,14 @@ class Maps { if (empty($o['height'])) $o['height'] = 36; $o['sensor'] = empty($o['sensor']) ? 'false' : 'true'; - return '' + .'&sensor='.$o['sensor'] ; } public static function link($longitude,$latitude) { - if (!isset($content)) $content = self::img($longitude,$latitude); return 'http://maps.google.com/?q='.$longitude.','.$latitude; } -- 2.47.3