diff --git a/public_html/lists/admin/admin.php b/public_html/lists/admin/admin.php index 9808aa721..f505ee747 100644 --- a/public_html/lists/admin/admin.php +++ b/public_html/lists/admin/admin.php @@ -18,6 +18,7 @@ echo Error(s('No Access')); return; } +$accesslevel = 'all'; if (!empty($_POST['change'])) { if (!verifyToken()) { //# csrf check, should be added in more places @@ -157,7 +158,7 @@ if (isset($data['privileges'])) { $privileges = unserialize($data['privileges']); } else { - $privileges = array(); + $privileges = array('subscribers' => 0, 'campaigns' => 0, 'statistics' => 0, 'settings' => 0); } reset($struct);