From a82b69abcd219f6772f4e6e89654e345b816abab Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sat, 19 Jun 2010 02:02:18 +0000 Subject: [PATCH] Fix for missing http_status element in click.php --- inc/functions.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/inc/functions.php b/inc/functions.php index a8935e8c2c..2edf08a02c 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -1000,6 +1000,9 @@ function redirectToUrl ($URL, $allowSpider = true) { // Clear own output buffer $GLOBALS['output'] = ''; + // Set header + setHttpStatus('302 Found'); + // Load URL when headers are not sent sendHeader('Location: '.str_replace('&', '&', $URL)); } else { -- 2.39.5