From 85dfad1360ffe89a4903a829847c3c93f9aa24e3 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Mon, 25 Feb 2013 14:56:00 +0100 Subject: [PATCH] getRequestURI() is now static --- wcfsetup/install/files/lib/system/WCF.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wcfsetup/install/files/lib/system/WCF.class.php b/wcfsetup/install/files/lib/system/WCF.class.php index 57273bfa95..dc5feddc67 100644 --- a/wcfsetup/install/files/lib/system/WCF.class.php +++ b/wcfsetup/install/files/lib/system/WCF.class.php @@ -647,7 +647,7 @@ class WCF { * @return string */ public function getAnchor($fragment) { - return $this->getRequestURI() . '#' . $fragment; + return self::getRequestURI() . '#' . $fragment; } /** @@ -655,7 +655,7 @@ class WCF { * * @return string */ - public function getRequestURI() { + public static function getRequestURI() { // resolve path and query components $scriptName = $_SERVER['SCRIPT_NAME']; if (empty($_SERVER['PATH_INFO'])) { -- 2.20.1