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

prevent php-warnings, closes #3497

Closes #3497

Merge request studip/studip!2391
parent 60daaa95
No related branches found
No related tags found
No related merge requests found
......@@ -354,7 +354,7 @@ class ActionMenu
protected function getKeyForIndex($index)
{
foreach ($this->actions as $key => $value) {
if ($value['index'] === $index) {
if (!empty($value['index']) && $value['index'] === $index) {
return $key;
}
}
......
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