Fixed bug introduced by live commit (new-expiry-date should be new-sticker-date)

This commit is contained in:
Øyvind Bakkeli committed 2012-01-11 21:12:54 +01:00
1 parent 1187b4bd83
commit f81cd9b151
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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") {