X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Flibs%2Fregister_functions.php;h=e98010cd6650e29d41e6d3f6477fa3ab2709b0cc;hp=20d35c2ce7ea735a8b882016511ea22486a368a8;hb=0851db137e420b90617f47b77de2302e770f5f02;hpb=36c6c72729568a58124c7a5dba6562801cd15865;ds=sidebyside diff --git a/inc/libs/register_functions.php b/inc/libs/register_functions.php index 20d35c2ce7..e98010cd66 100644 --- a/inc/libs/register_functions.php +++ b/inc/libs/register_functions.php @@ -339,7 +339,7 @@ function doRegistration () { generateHash(postRequestParameter('pass1')), bigintval(postRequestParameter('max_mails')), bigintval(postRequestParameter('max_mails')), - makeDatabaseUserId(postRequestParameter('refid')), + makeZeroToNull(postRequestParameter('refid')), $hash, detectRemoteAddr(), ), __FUNCTION__, __LINE__);