]> git.mxchange.org Git - friendica.git/blobdiff - mod/help.php
set minchars to 2 for PM lookups too
[friendica.git] / mod / help.php
index 59e062f6d4398d16c9c6657e3828313b296dda3c..af05bd47c08109bbd23e70c8b960e7ba66f4decc 100644 (file)
@@ -36,8 +36,10 @@ function help_content(&$a) {
        
        if(! strlen($text)) {
                header($_SERVER["SERVER_PROTOCOL"] . ' 404 ' . t('Not Found'));
-               notice( t('Page not found.' ) . EOL);
-               return;
+               $tpl = get_markup_template("404.tpl");
+               return replace_macros($tpl, array(
+                       '$message' =>  t('Page not found.' )
+               ));
        }
        
        return Markdown($text);