Commit 16694bb8 authored by catch's avatar catch

Issue #1312178 by rocket_nova: Fixed Documentation problem with...

Issue #1312178 by rocket_nova: Fixed Documentation problem with hook_theme_registry_alter() example code.
parent 95b676c8
......@@ -1724,7 +1724,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]);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment