From 9d5bf610eb6abe8f2f1e1f2caddf37599c0c03d5 Mon Sep 17 00:00:00 2001 From: Sukhwinder Dhillon Date: Wed, 16 Aug 2023 10:22:03 +0200 Subject: [PATCH] ModuleController: Fix typo in global var name --- modules/doc/application/controllers/ModuleController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/doc/application/controllers/ModuleController.php b/modules/doc/application/controllers/ModuleController.php index 47dfb1c14..9e94a61aa 100644 --- a/modules/doc/application/controllers/ModuleController.php +++ b/modules/doc/application/controllers/ModuleController.php @@ -152,7 +152,7 @@ class ModuleController extends DocController $lastModified = gmdate('D, d M Y H:i:s T', $imageInfo->getMTime()); $match = false; - if (isset($_SERER['HTTP_IF_NONE_MATCH'])) { + if (isset($_SERVER['HTTP_IF_NONE_MATCH'])) { $ifNoneMatch = explode(', ', stripslashes($_SERVER['HTTP_IF_NONE_MATCH'])); foreach ($ifNoneMatch as $tag) { if ($tag === $etag) {