diff options
author | David M <davidmj@users.sourceforge.net> | 2006-10-14 19:05:51 +0000 |
---|---|---|
committer | David M <davidmj@users.sourceforge.net> | 2006-10-14 19:05:51 +0000 |
commit | 2cc31fee0e3e868730d06348203b36eee95d61d0 (patch) | |
tree | 823d657a2ecfc7a9f5dd8cb4bad8fe733560d534 | |
parent | 44ba76d075a6ebf985c147a9ff50d76dcd8ebd4e (diff) | |
download | forums-2cc31fee0e3e868730d06348203b36eee95d61d0.tar forums-2cc31fee0e3e868730d06348203b36eee95d61d0.tar.gz forums-2cc31fee0e3e868730d06348203b36eee95d61d0.tar.bz2 forums-2cc31fee0e3e868730d06348203b36eee95d61d0.tar.xz forums-2cc31fee0e3e868730d06348203b36eee95d61d0.zip |
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
-rw-r--r-- | phpBB/includes/functions.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index ccc40d5684..40225a363b 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -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); |