X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=plugins%2FEvent%2Fnewrsvp.php;h=272c6f0d9f624b5fed798f22bafa047d2a16e491;hb=2a4dc77a633cc78907934fd93200ac16d55be78e;hp=e9adf405d85841bbb5f50899ddef05eba2a092de;hpb=5e97047f8ff328e514ae84760692e43190f131e6;p=quix0rs-gnu-social.git diff --git a/plugins/Event/newrsvp.php b/plugins/Event/newrsvp.php index e9adf405d8..272c6f0d9f 100644 --- a/plugins/Event/newrsvp.php +++ b/plugins/Event/newrsvp.php @@ -78,14 +78,14 @@ class NewrsvpAction extends Action $eventId = $this->trimmed('event'); if (empty($eventId)) { - // TRANS: Client exception thrown when requesting a non-exsting event. + // TRANS: Client exception thrown when referring to a non-existing event. throw new ClientException(_m('No such event.')); } - $this->event = Happening::staticGet('id', $eventId); + $this->event = Happening::getKV('id', $eventId); if (empty($this->event)) { - // TRANS: Client exception thrown when requesting a non-exsting event. + // TRANS: Client exception thrown when referring to a non-existing event. throw new ClientException(_m('No such event.')); }