Fixed bug introduced by live commit (new-expiry-date should be new-sticker-date)
This commit is contained in:
1 parent
1187b4bd83
commit
f81cd9b151
2 files changed
+2
-2
No files matched your search
@@ -1299,7 +1299,7 @@ private function logError($username, $error)
|
||||
$user = new User(scriptParam("userid"));
|
||||
$subaction = scriptParam("subaction");
|
||||
if ($subaction == "sticker-sale") {
|
||||
$user->_registerUpdate("Oblat solgt i billettbod");
|
||||
$user->_registerUpdate("Oblat solgt i billettbod " . scriptParam("new-sticker-date"));
|
||||
$user->updateExpiry(scriptParam("new-sticker-date"));
|
||||
$user->updateLastSticker(getStickerPeriod(scriptParam("new-sticker-date")));
|
||||
} elseif ($subaction == "give-sticker") {
|
||||
|
||||
Reference in new issue
Block a user