diff --git a/notifyall/notifyall.php b/notifyall/notifyall.php index a0193039..824e306b 100644 --- a/notifyall/notifyall.php +++ b/notifyall/notifyall.php @@ -28,7 +28,7 @@ function notifyall_module() {} function notifyall_addon_admin(App $a, &$o) { - $o = '
' . L10n::t('Send email to all members') . ''; + $o = ' ' . L10n::t('Send email to all members') . ''; } diff --git a/openstreetmap/openstreetmap.php b/openstreetmap/openstreetmap.php index 0420591e..8255b940 100644 --- a/openstreetmap/openstreetmap.php +++ b/openstreetmap/openstreetmap.php @@ -155,7 +155,7 @@ function openstreetmap_generate_map(&$a, &$b) { $tmsserver = Config::get('openstreetmap', 'tmsserver', OSM_TMS); - if (strpos(z_root(), 'https:') !== false) { + if (strpos($a->getBaseURL(true), 'https:') !== false) { $tmsserver = str_replace('http:','https:',$tmsserver); }