summaryrefslogtreecommitdiff
path: root/modules/taxonomy/taxonomy.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-12-10 15:39:43 +0000
committerDries Buytaert <dries@buytaert.net>2009-12-10 15:39:43 +0000
commitc2f26d3368d38ce4d73aa0089d09d2d78ccf9285 (patch)
tree3db0c442068bd5bfb2a91e26675dfe9019cc8fab /modules/taxonomy/taxonomy.module
parent3016bcbd235b75e60a44566368c2d3702a625174 (diff)
downloadbrdo-c2f26d3368d38ce4d73aa0089d09d2d78ccf9285.tar.gz
brdo-c2f26d3368d38ce4d73aa0089d09d2d78ccf9285.tar.bz2
- Patch #653940 by sun: tests weren't reporting all errors.
Diffstat (limited to 'modules/taxonomy/taxonomy.module')
-rw-r--r--modules/taxonomy/taxonomy.module3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module
index 4cc5de737..290162e26 100644
--- a/modules/taxonomy/taxonomy.module
+++ b/modules/taxonomy/taxonomy.module
@@ -903,7 +903,8 @@ function taxonomy_vocabulary_load_multiple($vids = array(), $conditions = array(
* Results are statically cached.
*/
function taxonomy_vocabulary_load($vid) {
- return reset(taxonomy_vocabulary_load_multiple(array($vid)));
+ $vocabularies = taxonomy_vocabulary_load_multiple(array($vid));
+ return reset($vocabularies);
}
/**