diff options
-rw-r--r-- | modules/taxonomy/taxonomy.module | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module index c49625046..d033d4992 100644 --- a/modules/taxonomy/taxonomy.module +++ b/modules/taxonomy/taxonomy.module @@ -969,7 +969,7 @@ function taxonomy_get_term_by_name($name) { * The vocabulary's ID * * @return - * The vocabulary object with all of its metadata, if exists, NULL otherwise. + * The vocabulary object with all of its metadata, if exists, FALSE otherwise. * Results are statically cached. */ function taxonomy_vocabulary_load($vid) { @@ -992,8 +992,8 @@ function taxonomy_vocabulary_load($vid) { } } - // Return NULL if this vocabulary does not exist. - return !empty($vocabularies[$vid]) ? $vocabularies[$vid] : NULL; + // Return FALSE if this vocabulary does not exist. + return !empty($vocabularies[$vid]) ? $vocabularies[$vid] : FALSE; } /** |