summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 26c9c9f)
raw | patch | inline | side by side (parent: 26c9c9f)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 28 Feb 2008 13:41:29 +0000 (13:41 +0000) | ||
committer | hickert <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
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9187 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/goto/addons/gotomasses/class_gotomasses.inc | patch | blob | history |
diff --git a/gosa-plugins/goto/addons/gotomasses/class_gotomasses.inc b/gosa-plugins/goto/addons/gotomasses/class_gotomasses.inc
index 0b8a8dac7985c579ce437f7afd27f23958e7237a..9526bd57b31ced2e29e3d9eff80bc85a981e9968 100644 (file)
$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);
}