diff --git a/lib/classes/Request.class.php b/lib/classes/Request.class.php
index 5aa52b744b61d44eb397f6586d225a86dd998533..74b0a8a10f7fac7be0b7005d3def90aed1be8e81 100644
--- a/lib/classes/Request.class.php
+++ b/lib/classes/Request.class.php
@@ -56,7 +56,7 @@ class Request implements ArrayAccess, IteratorAggregate
      */
     public function offsetGet($offset)
     {
-        return $this->params[$offset];
+        return $this->params[$offset] ?? null;
     }
 
     /**