Code

Updated gotomasses
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 28 Feb 2008 13:41:29 +0000 (13:41 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 28 Feb 2008 13:41:29 +0000 (13:41 +0000)
-Only allow edit if entry has status wainting

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9187 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/goto/addons/gotomasses/class_gotomasses.inc

index 0b8a8dac7985c579ce437f7afd27f23958e7237a..9526bd57b31ced2e29e3d9eff80bc85a981e9968 100644 (file)
@@ -137,7 +137,9 @@ class gotomasses extends plugin
       $type = FALSE;
       if(isset($this->entries[$id])){
         $event = $this->entries[$s_entry];
-        if(isset($this->events['BY_QUEUED_ACTION'][$event['HEADERTAG']])){
+      
+        
+        if($event['STATUS'] == "waiting" && isset($this->events['BY_QUEUED_ACTION'][$event['HEADERTAG']])){
           $type = $this->events['BY_QUEUED_ACTION'][$event['HEADERTAG']];
           $this->dialog = new $type['CLASS_NAME']($this->config,$event);
         }