Code

Backport from trunk
[gosa.git] / gosa-plugins / mail / addons / mailqueue / class_si_mailqueue.inc
index 3eb055bde5f576fed9d53d28dc24c389fdf9df65..ca4dd0c4279c580fcb5d6d16d9c1f1154a065bd3 100644 (file)
@@ -131,7 +131,7 @@ class si_mailqueue extends gosaSupportDaemon
     /* Check triggered action 
      */
     $allowed_actions = array("hold","unhold","requeue","del");
-    if(!in_array($action,$allowed_actions)){
+    if(!in_array_strict($action,$allowed_actions)){
       trigger_error("Unknown queue action triggered '".$action."'. Request aborted.");  
       return(FALSE);
     }