Live changes (sticker period related)

This commit is contained in:
Mausern Testbruker committed 2011-10-21 00:52:34 +02:00
1 parent f73dcc0e57
commit 69392f6953
2 files changed
+11 -10

No files matched your search

+1 -1
View File
@@ -1301,7 +1301,7 @@ private function logError($username, $error)
if ($subaction == "sticker-sale") {
$user->_registerUpdate("Oblat solgt i billettbod");
$user->updateExpiry(scriptParam("new-sticker-date"));
$user->updateLastSticker(scriptParam("new-sticker-date"));
$user->updateLastSticker(getStickerPeriod(scriptParam("new-sticker-date")));
} elseif ($subaction == "give-sticker") {
$user->_registerUpdate("Gyldig medlemskap, oblat gitt ut i billettluka");
$user->updateLastSticker(scriptParam("new-sticker-date"));