Bug tracker
Logout and "not allowed as quickmod" (fix completed in vcs)
The same in normal MCP but using it previous page is not this "Information" but "View topic" page in MCP.
Comments / History
I have a patch to fix the logging out issues when hitting yes:
- Code: Select all
diff -C3 -w -r1.397 functions.php
*** includes/functions.php 13 May 2006 17:48:21 -0000 1.397
--- includes/functions.php 14 May 2006 14:28:16 -0000
***************
*** 1344,1350 ****
$s_hidden_fields = build_hidden_fields(array(
'user_id' => $user->data['user_id'],
'sess' => $user->session_id,
! 'sid' => $SID)
);
// generate activation key
--- 1344,1350 ----
$s_hidden_fields = build_hidden_fields(array(
'user_id' => $user->data['user_id'],
'sess' => $user->session_id,
! 'sid' => str_replace('?sid=', '', $SID))
);
// generate activation key
This then brings up another issue which is the return to previous page link after locking/stickying/etc doesn't include a session id. The problem lies with these bits of code in mcp_main.php
- Code: Select all
if (strpos($redirect, '?') === false)
{
$redirect = substr_replace($redirect, ".$phpEx$SID&", strpos($redirect, '&'), 1);
}