From ed5eb1ef744abb5371dabaa094948841d76c6fb2 Mon Sep 17 00:00:00 2001 From: Cameron Date: Sun, 27 Mar 2016 11:34:14 -0700 Subject: [PATCH] Issue #1458 - Possible fix to admin perms issue. --- e107_admin/eurl.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e107_admin/eurl.php b/e107_admin/eurl.php index fdc79d663..420d01d77 100644 --- a/e107_admin/eurl.php +++ b/e107_admin/eurl.php @@ -13,7 +13,7 @@ */ require_once('../class2.php'); -if (!ADMIN || !getperms('L')) +if (!getperms('K')) { e107::redirect('admin'); exit;