From 5222763d11e79c0173119c119ec12d2b79cd6ecb Mon Sep 17 00:00:00 2001 From: Jan van den Berg Date: Sat, 14 May 2022 15:57:59 +0200 Subject: [PATCH] Fix $_GET --- core/templates.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/templates.php b/core/templates.php index 158001a..b8bfe4f 100644 --- a/core/templates.php +++ b/core/templates.php @@ -51,7 +51,7 @@ $protocol = $_SERVER['SERVER_PROTOCOL']; $domain = $_SERVER['HTTP_HOST']; $script = $_SERVER['SCRIPT_NAME']; - $parameters = $GET ? $_SERVER['QUERY_STRING'] : "" ; + $parameters = $_GET ? $_SERVER['QUERY_STRING'] : "" ; $protocol=strpos(strtolower($_SERVER['SERVER_PROTOCOL']),'https') === FALSE ? 'http' : 'https'; $currenturl = $protocol . '://' . $domain. $script . '?' . $parameters;