]> git.mxchange.org Git - mailer.git/commitdiff
Possible fix
authorRoland Häder <roland@mxchange.org>
Tue, 17 Nov 2009 20:27:19 +0000 (20:27 +0000)
committerRoland Häder <roland@mxchange.org>
Tue, 17 Nov 2009 20:27:19 +0000 (20:27 +0000)
inc/modules/guest/what-login.php

index 4db7500c07cd27b989107f3137b7f0305b613297..94904e1be4459483357de4321a660e83b2585e9a 100644 (file)
@@ -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 = '';