diff options
Diffstat (limited to 'modules/simpletest/tests')
-rw-r--r-- | modules/simpletest/tests/taxonomy_test.module | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/simpletest/tests/taxonomy_test.module b/modules/simpletest/tests/taxonomy_test.module index 2bbcf2453..d90148fa2 100644 --- a/modules/simpletest/tests/taxonomy_test.module +++ b/modules/simpletest/tests/taxonomy_test.module @@ -9,8 +9,10 @@ /** * Implementation of hook_taxonomy_term_load(). */ -function taxonomy_test_taxonomy_term_load($term) { - $term->antonyms = taxonomy_test_get_antonyms($term->tid); +function taxonomy_test_taxonomy_term_load(&$terms) { + foreach ($terms as $term) { + $term->antonyms = taxonomy_test_get_antonyms($term->tid); + } } /** |