diff options
Diffstat (limited to 'modules/taxonomy/taxonomy.api.php')
-rw-r--r-- | modules/taxonomy/taxonomy.api.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/taxonomy/taxonomy.api.php b/modules/taxonomy/taxonomy.api.php index 21790e17b..7c3106bb6 100644 --- a/modules/taxonomy/taxonomy.api.php +++ b/modules/taxonomy/taxonomy.api.php @@ -20,8 +20,10 @@ * @param $vocabulary * A taxonomy vocabulary object. */ -function hook_taxonomy_vocabulary_load($vocabulary) { - $vocabulary->synonyms = variable_get('taxonomy_' . $vocabulary->vid . '_synonyms', FALSE); +function hook_taxonomy_vocabulary_load($vocabularies) { + foreach ($vocabularies as $vocabulary) { + $vocabulary->synonyms = variable_get('taxonomy_' . $vocabulary->vid . '_synonyms', FALSE); + } } /** |