Code

Applied in_array strict patches from trunk
[gosa.git] / gosa-core / include / class_log.inc
index b03687de7ef086ec8acea8499efafc0957311f5b..6568778daf26807c5ee9576fe302679f78f78869 100644 (file)
@@ -98,7 +98,7 @@ class log {
   {
     $msgs = array();
 
-    if(!isset($entry['action']) || !in_array($entry['action'],array("modify","create","remove","copy","snapshot","view","security","debug"))){
+    if(!isset($entry['action']) || !in_array_strict($entry['action'],array("modify","create","remove","copy","snapshot","view","security","debug"))){
       $msgs[] = sprintf(_("Invalid option %s specified!"), bold($entry['action']));
     }