diff modules/taxonomy/taxonomy.module @ 11:589fb7c02327 6.5

Drupal 6.5
author Franck Deroche <webmaster@defr.org>
date Tue, 23 Dec 2008 14:32:19 +0100
parents fff6d4c8c043
children
line wrap: on
line diff
--- a/modules/taxonomy/taxonomy.module	Tue Dec 23 14:32:08 2008 +0100
+++ b/modules/taxonomy/taxonomy.module	Tue Dec 23 14:32:19 2008 +0100
@@ -1,5 +1,5 @@
 <?php
-// $Id: taxonomy.module,v 1.414.2.4 2008/06/25 08:00:57 goba Exp $
+// $Id: taxonomy.module,v 1.414.2.5 2008/09/17 12:55:37 goba Exp $
 
 /**
  * @file
@@ -973,7 +973,7 @@
  *   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) {
@@ -996,8 +996,8 @@
     }
   }
 
-  // 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;
 }
 
 /**