GroupRights.php
authorAlan Knowles <alan@roojs.com>
Fri, 14 Sep 2012 07:12:23 +0000 (15:12 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 14 Sep 2012 07:12:23 +0000 (15:12 +0800)
GroupRights.php

index a3de4aa..24f4bff 100644 (file)
@@ -108,6 +108,7 @@ class Pman_Admin_GroupRights extends Pman
                 $p = DB_DataObject::factory('group_rights');
                 $p->group_id = (int)$_POST['group_id'];
                 if (!$p->get($id)) {
+                    $this->jerr("could not find gid:{$p->group_id} and $id");
                     continue; // errro cond.
                 }
                 $po = clone($p);