From 1557ee83433d34759751f0b57e87e4d333ca7bd5 Mon Sep 17 00:00:00 2001 From: KH Lau Date: Tue, 30 Jan 2018 16:21:36 +0800 Subject: [PATCH] GroupRights.php --- GroupRights.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GroupRights.php b/GroupRights.php index f4be607..acee9ed 100644 --- a/GroupRights.php +++ b/GroupRights.php @@ -75,7 +75,7 @@ class Pman_Admin_GroupRights extends Pman $cur[$k] = clone($gr); } - $shortname = explode('.',$k); + $short = explode('.',$k); $ar[] = array( 'id' => $cur[$k]->id * 1, // 'rightname' => $k, @@ -83,7 +83,7 @@ class Pman_Admin_GroupRights extends Pman 'accessmask' => $cur[$k]->accessmask, 'FullMask' => $defdata[0], 'group_id' => (int)$_GET['group_id'], - 'shortname' => $shortname[0]; + 'shortname' => $short[0]; ); } -- 2.39.2