mirror of
https://github.com/e107inc/e107.git
synced 2025-08-03 21:27:25 +02:00
Fix: News-Archive hidden when disabled.
This commit is contained in:
@@ -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)
|
// 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;
|
return null;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user