Code

Applied in_array strict patches from trunk
[gosa.git] / gosa-core / include / class_CopyPasteHandler.inc
index 62f3e3702e01ee030248ed034f9f0735e35a1ff7..1149370076b558c8f19c07a94fd80e5169a97006 100644 (file)
@@ -73,7 +73,7 @@ class CopyPasteHandler {
       return(FALSE);
     }
 
-    if(!in_array($action,array("cut","copy"))){
+    if(!in_array_strict($action,array("cut","copy"))){
       trigger_error(sprintf("Specified action %s does not exists for copy & paste.", bold($action)));
       return(FALSE);
     }