]> git.mxchange.org Git - friendica.git/blobdiff - mod/message.php
Updated messages.po
[friendica.git] / mod / message.php
index 99fb6b3b41cbc4e39787175edfd0921c2a8d8c95..d75fb240f01025ba23a40547c2e837b222d0bd76 100644 (file)
@@ -54,11 +54,10 @@ function message_init(App $a)
                '$tabs' => $tabs,
                '$new'  => $new,
        ]);
-       $base = DI::baseUrl();
 
        $head_tpl = Renderer::getMarkupTemplate('message-head.tpl');
        DI::page()['htmlhead'] .= Renderer::replaceMacros($head_tpl, [
-               '$base'    => $base
+               '$base' => (string)DI::baseUrl()
        ]);
 }
 
@@ -436,7 +435,7 @@ function render_messages(array $msg, string $t): string
                $to_name_e = $rr['name'];
 
                if (is_null($rr['url'])) {
-                       // contact-id is pointing to a non existing contact
+                       // contact-id is pointing to a nonexistent contact
                        continue;
                }