]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/Event/classes/Happening.php
RSVPs refer to Happening (event) by URI instead of ID now
[quix0rs-gnu-social.git] / plugins / Event / classes / Happening.php
index 06d5b99ab713caae781c40047b89e1401b383249..9ef288eca4667c29b6134bc53fd77ad9c02d78a4 100644 (file)
@@ -223,6 +223,6 @@ class Happening extends Managed_DataObject
     function getRSVP($profile)
     {
         return RSVP::pkeyGet(array('profile_id' => $profile->getID(),
-                                   'event_id' => $this->id));
+                                   'event_uri' => $this->getUri()));
     }
 }