| @@ -138,6 +138,9 @@ | ||
| 138 | 138 | |
| 139 | 139 | }; | 
| 140 | 140 | |
| 141 | + /** | |
| 142 | + * @param string $emailaddress | |
| 143 | + */ | |
| 141 | 144 |  	function invitationExists($emailaddress){ | 
| 142 | 145 | $query = "SELECT * FROM email_invitations WHERE `email` = '" . $emailaddress . "'"; | 
| 143 | 146 | $result = get_data($query); |