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 the nextmap is not a queued map, get it from map info
if($queuedMap == null) { if($queuedMap == null) {
$map = $this->maniaControl->client->getNextMapInfo(); $map = $this->maniaControl->client->getNextMapInfo();
$name = $map->name; $name = Formatter::stripDirtyCodes($map->name);
$author = $map->author; $author = $map->author;
} else { } else {
$requester = $queuedMap[0]; $requester = $queuedMap[0];