diff options
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 608879d5e..17667959f 100644 --- a/modules/system/system.api.php +++ b/modules/system/system.api.php @@ -462,7 +462,7 @@ function hook_link($type, $object, $teaser = FALSE) { */ function hook_link_alter(array &$links, $node) { foreach ($links as $module => $link) { - if (strstr($module, 'taxonomy_term')) { + if (strpos($module, 'taxonomy_term') !== FALSE) { // Link back to the forum and not the taxonomy term page $links[$module]['href'] = str_replace('taxonomy/term', 'forum', $link['href']); } |