design fix

This commit is contained in:
kremsy 2014-01-16 21:30:11 +01:00 committed by Steffen Schröder
parent 5852e57392
commit 671c934f2b

View File

@ -439,7 +439,7 @@ class WidgetPlugin implements CallbackListener, Plugin {
// if the nextmap is not a queued map, get it from map info
if($queuedMap == null) {
$map = $this->maniaControl->client->getNextMapInfo();
$name = $map->name;
$name = Formatter::stripDirtyCodes($map->name);
$author = $map->author;
} else {
$requester = $queuedMap[0];