diff options
author | Dries Buytaert <dries@buytaert.net> | 2008-11-15 11:45:04 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2008-11-15 11:45:04 +0000 |
commit | 97fdc491917f6f12d734cb13bf2101cfc12096fd (patch) | |
tree | 6705139d65bdbbfd0c7ccb7c59f9442bd6a5cd7d /modules/comment | |
parent | 10104ba94ac7a70b2be3594cb769034582533e1f (diff) | |
download | brdo-97fdc491917f6f12d734cb13bf2101cfc12096fd.tar.gz brdo-97fdc491917f6f12d734cb13bf2101cfc12096fd.tar.bz2 |
- Patch #334030 by justinrandell: replace module_list with module_implements when calling a hook.
Diffstat (limited to 'modules/comment')
-rw-r--r-- | modules/comment/comment.module | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/comment/comment.module b/modules/comment/comment.module index 055e30f92..c8573d7c0 100644 --- a/modules/comment/comment.module +++ b/modules/comment/comment.module @@ -1945,8 +1945,8 @@ function _comment_update_node_statistics($nid) { */ function comment_invoke_comment(&$comment, $op) { $return = array(); - foreach (module_implements('comment') as $name) { - $function = $name . '_comment'; + foreach (module_implements('comment') as $module) { + $function = $module . '_comment'; $result = $function($comment, $op); if (isset($result) && is_array($result)) { $return = array_merge($return, $result); |