summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/system/system.api.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/system/system.api.php b/modules/system/system.api.php
index b88e72271..68a6cc5e7 100644
--- a/modules/system/system.api.php
+++ b/modules/system/system.api.php
@@ -2134,7 +2134,7 @@ function hook_theme($existing, $type, $theme, $path) {
function hook_theme_registry_alter(&$theme_registry) {
// Kill the next/previous forum topic navigation links.
foreach ($theme_registry['forum_topic_navigation']['preprocess functions'] as $key => $value) {
- if ($value = 'template_preprocess_forum_topic_navigation') {
+ if ($value == 'template_preprocess_forum_topic_navigation') {
unset($theme_registry['forum_topic_navigation']['preprocess functions'][$key]);
}
}