diff --git a/plugins/Event/classes/RSVP.php b/plugins/Event/classes/RSVP.php index 7ca29b280e..31ccf439ef 100644 --- a/plugins/Event/classes/RSVP.php +++ b/plugins/Event/classes/RSVP.php @@ -401,7 +401,7 @@ class RSVP extends Managed_DataObject function delete($useWhere=false) { - self::blow('rsvp:for-event:%s', $event->id); + self::blow('rsvp:for-event:%s', $this->id); return parent::delete($useWhere); } }