]> git.mxchange.org Git - friendica.git/blobdiff - src/App/BaseURL.php
Create specific module to display HTML message when a conversation isn't found in...
[friendica.git] / src / App / BaseURL.php
index f02cb9ef9936a7b5a92495cbbbd7feadafd7c1eb..564527a652287f0327fc513c1df50c2d2b28ad4f 100644 (file)
@@ -341,7 +341,7 @@ class BaseURL
        public function redirect(string $toUrl = '', bool $ssl = false)
        {
                if (!empty(parse_url($toUrl, PHP_URL_SCHEME))) {
-                       throw new HTTPException\InternalServerErrorException("'$toUrl is not a relative path, please use System::externalRedirectTo");
+                       throw new HTTPException\InternalServerErrorException("$toUrl is not a relative path, please use System::externalRedirectTo");
                }
 
                $redirectTo = $this->get($ssl) . '/' . ltrim($toUrl, '/');