From: Roland Häder Date: Tue, 17 Nov 2009 20:27:19 +0000 (+0000) Subject: Possible fix X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=commitdiff_plain;h=af98c1d0bac78bdcd185e97939da95ac82c35c5d Possible fix --- diff --git a/inc/modules/guest/what-login.php b/inc/modules/guest/what-login.php index 4db7500c07..94904e1be4 100644 --- a/inc/modules/guest/what-login.php +++ b/inc/modules/guest/what-login.php @@ -73,7 +73,7 @@ if ((isMemberIdSet()) && (isSessionVariableSet('u_hash'))) { } elseif (isPostRequestElementSet('new_pass')) { // New password requested $userid = '0'; - if (isPostRequestElementSet('id')) $userid = bigintval(postRequestElement('id')); + if ((isPostRequestElementSet('id')) && (postRequestElement('id') > 0)) $userid = bigintval(postRequestElement('id')); } else { // Not logged in $userid = '0'; $hash = '';