diff options
author | webchick <webchick@24967.no-reply.drupal.org> | 2011-10-24 20:02:56 -0700 |
---|---|---|
committer | webchick <webchick@24967.no-reply.drupal.org> | 2011-10-24 20:02:56 -0700 |
commit | b53e9583645f87a5bf4c4475ba728bc508ce2e7d (patch) | |
tree | e515fc73c232ca6f660fcf89feb3cfbb1a4574aa /modules/system/system.api.php | |
parent | 7259d8fc3068651da73c235b0c5efc9ab6912491 (diff) | |
download | brdo-b53e9583645f87a5bf4c4475ba728bc508ce2e7d.tar.gz brdo-b53e9583645f87a5bf4c4475ba728bc508ce2e7d.tar.bz2 |
Issue #1312178 by rocket_nova, jhodgdon, unabacus: Fixed Documentation problem with 'hook_theme_registry_alter()' example code.
Diffstat (limited to 'modules/system/system.api.php')
-rw-r--r-- | modules/system/system.api.php | 2 |
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]); } } |