mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-04 15:57:45 +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');
|
||||
}
|
||||
|
||||
garbage_collection();
|
||||
if (!$return)
|
||||
{
|
||||
garbage_collection();
|
||||
}
|
||||
|
||||
// Make sure no &'s are in, this will break the redirect
|
||||
$url = str_replace('&', '&', $url);
|
||||
|
Reference in New Issue
Block a user