projects
/
quix0rs-gnu-social.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3471213
)
If there's no Happening, we can't use the RSVP.
author
Mikael Nordfeldth
<mmn@hethane.se>
Tue, 5 Jan 2016 14:00:34 +0000
(15:00 +0100)
committer
Mikael Nordfeldth
<mmn@hethane.se>
Tue, 5 Jan 2016 14:00:34 +0000
(15:00 +0100)
plugins/Event/classes/RSVP.php
patch
|
blob
|
history
diff --git
a/plugins/Event/classes/RSVP.php
b/plugins/Event/classes/RSVP.php
index 5c74bfee4f2e2a552f48f8faacd8690323d9ce48..90c9d25a8d74010fa318a6662a9b85a71e8dd7c6 100644
(file)
--- a/
plugins/Event/classes/RSVP.php
+++ b/
plugins/Event/classes/RSVP.php
@@
-114,6
+114,7
@@
class RSVP extends Managed_DataObject
while ($rsvp->fetch()) {
$event = Happening::getKV('id', $rsvp->event_id);
if (!$event instanceof Happening) {
+ $rsvp->delete();
continue;
}
$orig = clone($rsvp);