From 15eeeac8d98de4f4ab486ecba54c4ab95915cebb Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 14 Sep 2012 15:12:36 +0800 Subject: [PATCH] GroupRights.php --- GroupRights.php | 1 + 1 file changed, 1 insertion(+) diff --git a/GroupRights.php b/GroupRights.php index 24f4bff..ebedf80 100644 --- a/GroupRights.php +++ b/GroupRights.php @@ -105,6 +105,7 @@ class Pman_Admin_GroupRights extends Pman // add or update.. if (!empty($_POST['dataUpdate'])) { foreach($_POST['dataUpdate'] as $id => $ac) { + $id = (int)$id; $p = DB_DataObject::factory('group_rights'); $p->group_id = (int)$_POST['group_id']; if (!$p->get($id)) { -- 2.39.2