X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=birthday_confirm.php;h=e60f59c985468c9d96f35dcd1971a3c889a2c33b;hp=68738e58d9e540a1d07dc21cdc328b6a2f7c36d4;hb=3e2e8ea82079f4e76b8add38efccf6c24afda507;hpb=64c8349613addc3da2242c5cd6b99d64e3fb5f8e diff --git a/birthday_confirm.php b/birthday_confirm.php index 68738e58d9..e60f59c985 100644 --- a/birthday_confirm.php +++ b/birthday_confirm.php @@ -92,7 +92,7 @@ if (SQL_NUMROWS($result) == 1) { // Add points to account // @TODO Try to rewrite the following unset() unset($GLOBALS['ref_level']); - addPointsThroughReferalSystem('birthday_confirm', $userid, $data['points'], false, '0', $locked, strtolower(getConfig('birthday_mode'))); + addPointsThroughReferalSystem('birthday_confirm', $userid, $data['points'], false, 0, $locked, strtolower(getConfig('birthday_mode'))); // Remove entry from table SQL_QUERY_ESC("DELETE LOW_PRIORITY FROM `{?_MYSQL_PREFIX?}_user_birthday` WHERE `userid`=%s AND `chk_value`='%s' LIMIT 1",