1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-29 10:38:08 +01:00

Quick-fix for not showing chapters when page listing is turned off.

This commit is contained in:
Moc 2013-04-28 16:25:48 +02:00
parent d88b897c2c
commit 6c834c236b

View File

@ -221,6 +221,8 @@ class pageClass
if(!e107::getPref('listPages', false))
{
message_handler("MESSAGE", LAN_PAGE_1);
require_once(FOOTERF); // prevent message from showing twice and still listing chapters
exit;
}
else
{