projects
/
mailer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7907803
)
Possible fix
author
Roland Häder
<roland@mxchange.org>
Tue, 17 Nov 2009 20:27:19 +0000
(20:27 +0000)
committer
Roland Häder
<roland@mxchange.org>
Tue, 17 Nov 2009 20:27:19 +0000
(20:27 +0000)
inc/modules/guest/what-login.php
patch
|
blob
|
history
diff --git
a/inc/modules/guest/what-login.php
b/inc/modules/guest/what-login.php
index 4db7500c07cd27b989107f3137b7f0305b613297..94904e1be4459483357de4321a660e83b2585e9a 100644
(file)
--- 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 = '';