From 6711d4714ce4000c0016307786e3e6e314b28bc0 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Thu, 1 Jun 2006 06:41:32 +0000 Subject: [PATCH] Fix for DynamicPageList, which registers a mixed-case tag name. The new system needs tag names to be case-folded internally so that tags are properly case-insensitive. --- includes/Parser.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/Parser.php b/includes/Parser.php index 6dacd60dcc..2bfa48273c 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -3664,6 +3664,7 @@ class Parser * @return The old value of the mTagHooks array associated with the hook */ function setHook( $tag, $callback ) { + $tag = strtolower( $tag ); $oldVal = @$this->mTagHooks[$tag]; $this->mTagHooks[$tag] = $callback; -- 2.20.1