updates to make RSVPs work
This commit is contained in:
@@ -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?
|
||||
|
||||
Reference in New Issue
Block a user