diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-04-26 06:00:31 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-04-26 06:00:31 +0000 |
commit | 3fe4c4e1c439b7804cabf4cd5fe3b6e5d5bb97d4 (patch) | |
tree | 16f4d60fae5d8424e6869d7c3f697df146c28b4d /modules/system/system.api.php | |
parent | 7138a5d5d005232f91ae629b4d5baec64d0697fa (diff) | |
download | brdo-3fe4c4e1c439b7804cabf4cd5fe3b6e5d5bb97d4.tar.gz brdo-3fe4c4e1c439b7804cabf4cd5fe3b6e5d5bb97d4.tar.bz2 |
- Patch #352880 by dereine, Dave Reid: replace strstre with strpos.
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']); } |