|
From: Benjamin C. <bc...@us...> - 2001-12-24 20:08:42
|
Update of /cvsroot/phpbt/phpbt
In directory usw-pr-cvs1:/tmp/cvs-serv15591
Modified Files:
include.php
Log Message:
Fixes bug $495905 -- $u needs to be updated after a successful login or the page being viewed after login submission still sees the user as "nobody"
Index: include.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/include.php,v
retrieving revision 1.84
retrieving revision 1.85
diff -u -r1.84 -r1.85
--- include.php 2001/12/14 15:04:14 1.84
+++ include.php 2001/12/24 20:08:39 1.85
@@ -532,7 +532,10 @@
'loginerrorcolor' => '#ff0000',
'loginerror' => 'Invalid login<br>'
));
- }
+ } else {
+ // Now that login is complete update the userid variable
+ $u = $auth->auth['uid'];
+ }
}
}
|