From 71c8926a5dc095e6e1b3ac47113b3e4c167740e7 Mon Sep 17 00:00:00 2001 From: Lord_Ralex Date: Fri, 3 Apr 2015 16:47:05 -0500 Subject: [PATCH] Typo --- routes/admin/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/admin/index.php b/routes/admin/index.php index fa292bd..b4c3698 100644 --- a/routes/admin/index.php +++ b/routes/admin/index.php @@ -104,7 +104,7 @@ $this->respond('POST', '/user/list/unapproved', function() { if (Authentication::verifySession()) { - $perms['view'] = Authentication::checkPermission('panel.viewuser'); + $perms['view'] = Authentication::checkPermission('panel.viewusers'); if ($perms['view']) { $accounts = User::getUnapproved(); } else {