updates to make RSVPs work

This commit is contained in:
Evan Prodromou
2011-03-09 12:28:25 -05:00
parent 728869e311
commit 35429c28e5
9 changed files with 638 additions and 99 deletions

View File

@@ -64,13 +64,13 @@ class ShoweventAction extends ShownoticeAction
$this->id = $this->trimmed('id');
$this->event = Event::staticGet('id', $this->id);
$this->event = Happening::staticGet('id', $this->id);
if (empty($this->event)) {
throw new ClientException(_('No such event.'), 404);
}
$this->notice = $event->getNotice();
$this->notice = $this->event->getNotice();
if (empty($this->notice)) {
// Did we used to have it, and it got deleted?