DataObjects/Core_email.php
[Pman.Core] / DataObjects / Core_email.php
index 9866b7c..ccef8d4 100644 (file)
@@ -73,7 +73,7 @@ class Pman_Core_DataObjects_Core_email extends DB_DataObject
             $this->makeCopy($roo);
             
         }
-        aa
+        
         if ($this->to_group != -1) {
                   
             $c = DB_DataObject::factory('core_group_member');            
@@ -81,13 +81,9 @@ class Pman_Core_DataObjects_Core_email extends DB_DataObject
                         
             if (!$c->find(true)) {
                 if (empty($request['_ignore_group_count'])) {
-                            $roo->jerr('no_member',array('errcode'=> 100));
-                      }
-                      
-                      if (!$request['_ignore_group_count']) {
-                            $roo->jerr('no_member',array('errcode'=> 100));
-                      }                                        
-            } 
+                    $roo->jerr('no_member',array('errcode'=> 100));
+                }
+            }
         }
     }