diff options
| author | Horus3 | 2014-03-16 19:11:31 +0100 |
|---|---|---|
| committer | Horus3 | 2014-03-16 19:11:31 +0100 |
| commit | ac364e0f8859d42478156a5e841c33dd23ef3d1a (patch) | |
| tree | c4d98d2e609563e14815043ec432d1411893b48e /www/functions/func_invite.php | |
| parent | 47b7715c50c9583df4ce621a9af03b879475fbc6 (diff) | |
| download | files.iamfabulous.de-ac364e0f8859d42478156a5e841c33dd23ef3d1a.tar.gz | |
No more warnings because of 'undefined constants' anymore.
Diffstat (limited to 'www/functions/func_invite.php')
| -rwxr-xr-x | www/functions/func_invite.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/www/functions/func_invite.php b/www/functions/func_invite.php index ad87a21..8ed1139 100755 --- a/www/functions/func_invite.php +++ b/www/functions/func_invite.php @@ -12,7 +12,7 @@ function invite($db){ $invite = $invite_ar[0]; if($invite <= 0){ - return INVITE_INVITES; + return 'INVITE_INVITES'; } /*Generates the invite key => [-_0-9a-zA-Z]{11}*/ @@ -46,9 +46,9 @@ function invite($db){ mail($email, "Invite", $subject, "From: mail@iamfabulous.de"); - return INVITE_SUCCESSFULL; + return 'INVITE_SUCCESSFULL'; } else { - return INVITE_DATABASE; + return 'INVITE_DATABASE'; } } |
