Skip to content
Snippets Groups Projects
Commit 5f8d91ca authored by David Siegfried's avatar David Siegfried
Browse files

prevent php-warnings, closes #2295

Closes #2295

Merge request studip/studip!1518
parent 1654fc8f
No related branches found
No related tags found
1 merge request!4Draft: Icon creation
...@@ -56,7 +56,7 @@ class Request implements ArrayAccess, IteratorAggregate ...@@ -56,7 +56,7 @@ class Request implements ArrayAccess, IteratorAggregate
*/ */
public function offsetGet($offset) public function offsetGet($offset)
{ {
return $this->params[$offset]; return $this->params[$offset] ?? null;
} }
/** /**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment