action menu fix

This commit is contained in:
kremsy 2015-02-04 23:16:52 +01:00
parent 535f3058cc
commit a95f93c4a8

View File

@ -290,7 +290,7 @@ class ActionsMenu implements CallbackListener, ManialinkPageAnswerListener {
unset($this->playerMenuItems[$order]); unset($this->playerMenuItems[$order]);
} }
} else { } else {
if (isset($this->playerMenuItems[$order])) { if (isset($this->adminMenuItems[$order])) {
unset($this->adminMenuItems[$order]); unset($this->adminMenuItems[$order]);
} }
} }