error reports: backtrace split from message

This commit is contained in:
Steffen Schröder
2014-03-19 14:00:24 +01:00
parent 57375a6e8b
commit 4d5280ce8f
5 changed files with 52 additions and 14 deletions

View File

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