projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3ba6dc
)
DataObjects/Core_person.php
author
Alan Knowles
<alan@roojs.com>
Thu, 20 Oct 2016 02:22:03 +0000
(10:22 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 20 Oct 2016 02:22:03 +0000
(10:22 +0800)
DataObjects/Core_person.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_person.php
b/DataObjects/Core_person.php
index
6e7421f
..
07e330d
100644
(file)
--- a/
DataObjects/Core_person.php
+++ b/
DataObjects/Core_person.php
@@
-657,7
+657,7
@@
class Pman_Core_DataObjects_Core_person extends DB_DataObject
$g = DB_DataObject::Factory('core_group_member');
$grps = $g->listGroupMembership($this);
//var_dump($grps);
- $isAdmin = $g->i
sAdmin;
+ $isAdmin = $g->i
nAdmin; //??? what???
//echo '<PRE>'; print_r($grps);var_dump($isAdmin);
// the load all the perms for those groups, and add them all together..
// then load all those