diff options
Diffstat (limited to 'inc/poche/pocheTools.class.php')
-rw-r--r-- | inc/poche/pocheTools.class.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/poche/pocheTools.class.php b/inc/poche/pocheTools.class.php index 8907c18e..08c9dc8f 100644 --- a/inc/poche/pocheTools.class.php +++ b/inc/poche/pocheTools.class.php | |||
@@ -75,11 +75,11 @@ class pocheTools | |||
75 | 75 | ||
76 | # prevent loop | 76 | # prevent loop |
77 | if (empty($url) || parse_url($url, PHP_URL_QUERY) === $_SERVER['QUERY_STRING']) { | 77 | if (empty($url) || parse_url($url, PHP_URL_QUERY) === $_SERVER['QUERY_STRING']) { |
78 | $url = pocheTool::getUrl(); | 78 | $url = pocheTools::getUrl(); |
79 | } | 79 | } |
80 | 80 | ||
81 | if (substr($url, 0, 1) !== '?') { | 81 | if (substr($url, 0, 1) !== '?') { |
82 | $ref = pocheTool::getUrl(); | 82 | $ref = pocheTools::getUrl(); |
83 | if (substr($url, 0, strlen($ref)) !== $ref) { | 83 | if (substr($url, 0, strlen($ref)) !== $ref) { |
84 | $url = $ref; | 84 | $url = $ref; |
85 | } | 85 | } |