diff --git a/Tracker/CustomVariablesRequestProcessor.php b/Tracker/CustomVariablesRequestProcessor.php index 5fd557e..6253d73 100644 --- a/Tracker/CustomVariablesRequestProcessor.php +++ b/Tracker/CustomVariablesRequestProcessor.php @@ -110,6 +110,10 @@ private static function getCustomVariables(Request $request, $parameter) foreach ($customVar as $id => $keyValue) { $id = (int)$id; + if (!is_array($keyValue)) { + continue; + } + if ($id < 1 || $id > $maxCustomVars || count($keyValue) != 2