DataObjects/Core_group.php
[Pman.Core] / DataObjects / Core_group.php
index 85c3519..db9ca0a 100644 (file)
@@ -159,7 +159,7 @@ class Pman_Core_DataObjects_Core_group extends DB_DataObject
 
     function addMember($person)
     {
-        if ($this->name == "Empty Group") {
+        if ($this->name != "Empty Group") {
             $this->jerr('Cannot the person into the empty group');
         }
         $gm = DB_Dataobject::factory('core_group_member');