diff options
Diffstat (limited to 'include/help.php')
-rw-r--r-- | include/help.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/help.php b/include/help.php index 5538fbc1e..3081ae41f 100644 --- a/include/help.php +++ b/include/help.php @@ -37,7 +37,10 @@ function get_help_content($tocpath = false) { $doctype = 'html'; } } - + + if(($tocpath) && (! $text)) + return ''; + if($tocpath === false) { if(! $text) { $text = load_doc_file('doc/Site.md'); |