mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-11 22:08:54 +00: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:
parent
44ba76d075
commit
2cc31fee0e
1 changed files with 4 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue