Index: trunk/phase3/includes/Parser.php |
— | — | @@ -3664,6 +3664,7 @@ |
3665 | 3665 | * @return The old value of the mTagHooks array associated with the hook |
3666 | 3666 | */ |
3667 | 3667 | function setHook( $tag, $callback ) { |
| 3668 | + $tag = strtolower( $tag ); |
3668 | 3669 | $oldVal = @$this->mTagHooks[$tag]; |
3669 | 3670 | $this->mTagHooks[$tag] = $callback; |
3670 | 3671 | |