X-Git-Url: https://git.mxchange.org/?p=quix0rs-gnu-social.git;a=blobdiff_plain;f=plugins%2FEvent%2Factions%2Fcancelrsvp.php;h=f7e922dffb6bccaba36d91304ec221e0cccc1e53;hp=31a26837511a135540901dcc69f69a39809f93ad;hb=e2d85a39e7f82ceef2cb2fe66a3a9a62ac9a363e;hpb=9b7773343460514c5c5811c9add5cd96a2770c42 diff --git a/plugins/Event/actions/cancelrsvp.php b/plugins/Event/actions/cancelrsvp.php index 31a2683751..f7e922dffb 100644 --- a/plugins/Event/actions/cancelrsvp.php +++ b/plugins/Event/actions/cancelrsvp.php @@ -89,7 +89,7 @@ class CancelrsvpAction extends Action throw new ClientException(_m('No such RSVP.')); } - $this->event = Happening::getKV('id', $this->rsvp->event_id); + $this->event = Happening::getKV('uri', $this->rsvp->event_uri); if (empty($this->event)) { // TRANS: Client exception thrown when referring to a non-existing event.