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

Fixes #1136 - Sitelink with "everyone but not" userclass

This commit is contained in:
Cameron
2016-01-31 11:41:29 -08:00
parent c5554898c2
commit edf00641d2
3 changed files with 9 additions and 7 deletions

View File

@@ -159,7 +159,7 @@ elseif(isset($_POST['fp_dec']))
if (isset($_POST))
{
// avoid endless loop.
// avoid endless loop.
if($_POST['frontpage'] == 'other' && (trim($_POST['frontpage_other']) == 'index.php' || trim($_POST['frontpage_other']) == '{e_BASE}index.php'))
{
$_POST['frontpage'] = 'wmessage';