_rsvp_attendee_exists($rid, $email)
rsvp/rsvp.module, line 1539
$rid The id of the rsvp.
<?php
function _rsvp_attendee_exists($rid, $email) {
if (db_num_rows(db_query('SELECT uid FROM {rsvp_invite} WHERE rid = %d AND email = \'%s\'', $rid, $email)) > 0) {
return TRUE;
}
else {
return FALSE;
}
}
?>