diff --git a/core/Tracker/RequestSet.php b/core/Tracker/RequestSet.php index cabcd56d496..d243f45504d 100644 --- a/core/Tracker/RequestSet.php +++ b/core/Tracker/RequestSet.php @@ -33,6 +33,10 @@ public function setRequests($requests) { $this->requests = array(); + if (empty($requests)|| !is_array($requests)) { + return; + } + foreach ($requests as $request) { if (empty($request) && !is_array($request)) { continue;