projects
/
Pman.Admin
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9097c77
)
GroupRights.php
author
Alan Knowles
<alan@roojs.com>
Fri, 14 Sep 2012 07:12:36 +0000
(15:12 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 14 Sep 2012 07:12:36 +0000
(15:12 +0800)
GroupRights.php
patch
|
blob
|
history
diff --git
a/GroupRights.php
b/GroupRights.php
index
24f4bff
..
ebedf80
100644
(file)
--- 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)) {