GroupRights.php
authorKH Lau <khlau@roojs.com>
Tue, 30 Jan 2018 08:21:36 +0000 (16:21 +0800)
committerKH Lau <khlau@roojs.com>
Tue, 30 Jan 2018 08:21:36 +0000 (16:21 +0800)
GroupRights.php

index f4be607..acee9ed 100644 (file)
@@ -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];
             );
                 
         }