News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

A little fix for Security.php [SMF 2.0 RC3]

Started by Bugo, July 16, 2010, 02:12:35 PM

Previous topic - Next topic

Bugo

Line 217: $_SESSION['login_url'] = $scripturl . '?' . $_SERVER['QUERY_STRING'];
I propose replace it with:

global $scripturl;
$_SESSION['login_url'] = $scripturl . '?' . $_SERVER['QUERY_STRING'];

or add "$scripturl" to the line 181:
Line 181: global $user_info, $txt, $context;

feline

Thanks for report, it's tracked and already fixed for the next release.

Fel

Advertisement: