From e905ef4696f0ce257e167013e9bc23539ccef75e Mon Sep 17 00:00:00 2001 From: Cameron Date: Sun, 18 Dec 2016 11:10:51 -0800 Subject: [PATCH] Fix: News-Archive hidden when disabled. --- e107_plugins/news/news.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e107_plugins/news/news.php b/e107_plugins/news/news.php index d60219296..bbb5cfc2a 100644 --- a/e107_plugins/news/news.php +++ b/e107_plugins/news/news.php @@ -295,7 +295,7 @@ class news_front { // do not show the news archive on the news.php?item.X page (but only on the news mainpage) - if(empty($this->defaultTemplate) || !empty($this->action)) + if(empty($this->defaultTemplate) || !empty($this->action) || empty($this->pref['newsposts_archive'])) { return null; }