Fix for missing http_status element in click.php
authorRoland Häder <roland@mxchange.org>
Sat, 19 Jun 2010 02:02:18 +0000 (02:02 +0000)
committerRoland Häder <roland@mxchange.org>
Sat, 19 Jun 2010 02:02:18 +0000 (02:02 +0000)
inc/functions.php

index a8935e8c2c38ac5917d416a2e5034de479989290..2edf08a02c0c6f72f466af45dc1048472f4f64b0 100644 (file)
@@ -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('&amp;', '&', $URL));
        } else {