projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84bd887
)
Pman.php
author
Alan Knowles
<alan@roojs.com>
Mon, 30 Nov 2015 08:35:47 +0000
(16:35 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 30 Nov 2015 08:35:47 +0000
(16:35 +0800)
Pman.php
patch
|
blob
|
history
diff --git
a/Pman.php
b/Pman.php
index
802de72
..
6a7260a
100644
(file)
--- a/
Pman.php
+++ b/
Pman.php
@@
-28,6
+28,14
@@
class Pman_Core_Pman {
$member = DB_DataObject::factory('group_members');
$member->group_id = $group->id;
+ if ($member->count()) {
+ return;
+ }
+
+ // not got members..
+
+ // if we only have one member - then add it .... (it's the admin, and they can modify this later..)
+
// only display if we have members..
if($p->count() && !$member->count()){