mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-05 08:17:47 +02:00
if we want a string, don't close the DB and cache
git-svn-id: file:///svn/phpbb/trunk@6500 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -1470,7 +1470,10 @@ function redirect($url, $return = false)
|
|||||||
$user->add_lang('common');
|
$user->add_lang('common');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!$return)
|
||||||
|
{
|
||||||
garbage_collection();
|
garbage_collection();
|
||||||
|
}
|
||||||
|
|
||||||
// Make sure no &'s are in, this will break the redirect
|
// Make sure no &'s are in, this will break the redirect
|
||||||
$url = str_replace('&', '&', $url);
|
$url = str_replace('&', '&', $url);
|
||||||
|
Reference in New Issue
Block a user