From add4b06b3506492635d6b2c390445e98167e91e9 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 28 Feb 2008 13:41:29 +0000 Subject: [PATCH] Updated gotomasses -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 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gosa-plugins/goto/addons/gotomasses/class_gotomasses.inc b/gosa-plugins/goto/addons/gotomasses/class_gotomasses.inc index 0b8a8dac7..9526bd57b 100644 --- a/gosa-plugins/goto/addons/gotomasses/class_gotomasses.inc +++ b/gosa-plugins/goto/addons/gotomasses/class_gotomasses.inc @@ -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); } -- 2.30.2