X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Flibs%2Fuser_functions.php;h=8e5383e71254c045d7b35c9404992f47e1d02c51;hp=9ab8d984f3853504d2f3973a7cd65c80a6d1caed;hb=9afd6ec5878544a7982c50ed9c0dd7de37606d5b;hpb=3c23bfaee208fa12adf5cdd9d8e9882612199d03 diff --git a/inc/libs/user_functions.php b/inc/libs/user_functions.php index 9ab8d984f3..8e5383e712 100644 --- a/inc/libs/user_functions.php +++ b/inc/libs/user_functions.php @@ -223,7 +223,7 @@ LIMIT 1", // Selects a random user id as the new referal id if they have at least X confirmed mails in this run function determineRandomReferalId () { // Default is zero refid - $refid = 0; + $refid = '0'; // Is the extension version fine? if (getExtensionVersion('user') >= '0.3.4') { @@ -263,7 +263,7 @@ function doUserLogin ($userid, $passwd, $successUrl = '', $errorUrl = 'modules.p // Init variables $dmy = ''; $add = ''; - $errorCode = 0; + $errorCode = '0'; // Add last_login if available $lastOnline = '';