Fixed bug #14681: Use self:: for static method calls with classname:: within the...
[Packages/TYPO3.CMS.git] / t3lib / utility / class.t3lib_utility_http.php
index 7ad1d21..5dd99ee 100644 (file)
@@ -87,7 +87,7 @@ class t3lib_utility_Http {
         * @param       string  The target URL to redirect to
         * @param       string  An optional HTTP status header. Default is 'HTTP/1.1 303 See Other'
         */
         * @param       string  The target URL to redirect to
         * @param       string  An optional HTTP status header. Default is 'HTTP/1.1 303 See Other'
         */
-       public static function redirect($url, $httpStatus = t3lib_utility_Http::HTTP_STATUS_303) {
+       public static function redirect($url, $httpStatus = self::HTTP_STATUS_303) {
                header($httpStatus);
                header('Location: ' . t3lib_div::locationHeaderUrl($url));
 
                header($httpStatus);
                header('Location: ' . t3lib_div::locationHeaderUrl($url));