X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Flibs%2Fregister_functions.php;h=9818c731240eb16ccebeedb0572315f880d5f33d;hp=703a2a0759745e9318f4517c0a53eb116f0b1bcf;hb=ca256746fe0757a23df4064824c8fe2087ad5634;hpb=387d390181f4aefd6d1e6d8fe16d9697801e99d7 diff --git a/inc/libs/register_functions.php b/inc/libs/register_functions.php index 703a2a0759..9818c73124 100644 --- a/inc/libs/register_functions.php +++ b/inc/libs/register_functions.php @@ -384,7 +384,7 @@ function doUserRegistration () { $filterData['register_insert_id'] = bigintval(SQL_INSERTID()); // Did this work? - if (!isValidUserId($filterData['register_insert_id'])) { + if (!isValidId($filterData['register_insert_id'])) { // Something bad happened! displayMessage('{--USER_NOT_REGISTERED--}'); @@ -437,7 +437,7 @@ function doUserRegistration () { } // END - if // ... rewrite a zero referral id to the main title - if (!isValidUserId(postRequestElement('refid'))) { + if (!isValidId(postRequestElement('refid'))) { setPostRequestElement('refid', getMainTitle()); } // END - if