fixed add_favorite for logins with special characters
This commit is contained in:
parent
5db1e23a7b
commit
dc42234e4f
@ -359,7 +359,7 @@ class WidgetPlugin implements CallbackListener, Plugin {
|
||||
$quad->setPosition($width / 2 - 4, -1.5, -0.5);
|
||||
$quad->setSize(3, 3);
|
||||
$quad->setHAlign(Control::CENTER);
|
||||
$quad->setManialink('mcontrol?favorite&' . $this->maniaControl->server->login);
|
||||
$quad->setManialink('mcontrol?favorite=' . urlencode($this->maniaControl->server->login));
|
||||
|
||||
// Send manialink
|
||||
$manialinkText = $maniaLink->render()->saveXML();
|
||||
|
Loading…
Reference in New Issue
Block a user