Prevented a few error logs

This commit is contained in:
Marcel Kapfer (mmk2410) 2016-08-03 17:16:58 +02:00
parent 54132c7218
commit 1aa4b42c0c
1 changed files with 2 additions and 1 deletions

View File

@ -353,7 +353,8 @@ if ($config["design"]["drawer"] == "on") {
} elseif (isset($getarticle)) { // ARTICLE VIEW } elseif (isset($getarticle)) { // ARTICLE VIEW
// generate the requested article // generate the requested article
ArticleGenerator::newArticle( ArticleGenerator::newArticle(
$articlesdir, $getarticle . ".md", $getblog $articlesdir, $getarticle . ".md", $getblog,
'off', ''
); );
include './res/php/Disqus.php'; // include disques include './res/php/Disqus.php'; // include disques
} else { // SOMETHING STRANGE: THIS SHOULDN'T HAPPEN } else { // SOMETHING STRANGE: THIS SHOULDN'T HAPPEN