From: KH Lau Date: Tue, 30 Jan 2018 08:21:36 +0000 (+0800) Subject: GroupRights.php X-Git-Url: http://git.roojs.org/?p=Pman.Admin;a=commitdiff_plain;h=1557ee83433d34759751f0b57e87e4d333ca7bd5 GroupRights.php --- 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]; ); }