]> git.mxchange.org Git - friendica.git/blobdiff - mod/help.php
Merge branch 'develop' into rewrites/dbm_is_result
[friendica.git] / mod / help.php
index 72225692793d5206d412d9e2a671f63ded4ab762..c2693dedba57103e318f59d50cbaf135e28c99ef 100644 (file)
@@ -18,7 +18,7 @@ if (!function_exists('load_doc_file')) {
 
 }
 
-function help_content(&$a) {
+function help_content(App &$a) {
 
        nav_set_selected('help');
 
@@ -77,7 +77,7 @@ function help_content(&$a) {
                                        if ($level>$lastlevel) $toc.="<ul>";
                                        $idnum[$level]++;
                                        $id = implode("_", array_slice($idnum,1,$level));
-                                       $href = $a->get_baseurl()."/help/{$filename}#{$id}";
+                                       $href = App::get_baseurl()."/help/{$filename}#{$id}";
                                        $toc .= "<li><a href='{$href}'>".strip_tags($line)."</a></li>";
                                        $line = "<a name='{$id}'></a>".$line;
                                        $lastlevel = $level;