diff options
Diffstat (limited to 'modules/taxonomy/taxonomy.module')
-rw-r--r-- | modules/taxonomy/taxonomy.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module index 45eab11ca..a93ef9fb0 100644 --- a/modules/taxonomy/taxonomy.module +++ b/modules/taxonomy/taxonomy.module @@ -994,7 +994,7 @@ function taxonomy_get_term_by_name($name) { function taxonomy_vocabulary_load($vid) { static $vocabularies = array(); - if (!isset($vocabularies[$vid])) { + if (empty($vocabularies[$vid])) { // Initialize so if this vocabulary does not exist, we have // that cached, and we will not try to load this later. $vocabularies[$vid] = FALSE; |