fixed null object access

This commit is contained in:
Steffen Schröder 2014-04-14 12:14:22 +02:00
parent 76d888c8b1
commit 4439d92d75

View File

@ -456,8 +456,8 @@ class WidgetPlugin implements CallbackListener, TimerListener, Plugin {
} else {
$requester = $queuedMap[0];
$map = $queuedMap[1];
$name = $map->name;
$author = $map->authorLogin;
$name = $queuedMap->name;
$author = $queuedMap->authorLogin;
}
$label = new Label_Text();