Pman.php
authorAlan Knowles <alan@roojs.com>
Mon, 30 Nov 2015 08:35:47 +0000 (16:35 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 30 Nov 2015 08:35:47 +0000 (16:35 +0800)
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()){