mirror of
https://github.com/e107inc/e107.git
synced 2025-07-29 10:50:25 +02:00
Quick-fix for not showing chapters when page listing is turned off.
This commit is contained in:
2
page.php
2
page.php
@@ -221,6 +221,8 @@ class pageClass
|
|||||||
if(!e107::getPref('listPages', false))
|
if(!e107::getPref('listPages', false))
|
||||||
{
|
{
|
||||||
message_handler("MESSAGE", LAN_PAGE_1);
|
message_handler("MESSAGE", LAN_PAGE_1);
|
||||||
|
require_once(FOOTERF); // prevent message from showing twice and still listing chapters
|
||||||
|
exit;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user