- Patch #1196112 by rocket_nova: taxonomy_get_parents() return value documentation isn't complete.

8.0.x
Dries 2011-11-22 20:37:29 -05:00
parent 371f1a1e88
commit bf06ae7da9
1 changed files with 2 additions and 1 deletions

View File

@ -859,7 +859,8 @@ function taxonomy_vocabulary_get_names() {
* A taxonomy term ID. * A taxonomy term ID.
* *
* @return * @return
* An array of term objects which are the parents of the term $tid. * An array of term objects which are the parents of the term $tid, or an
* empty array if parents are not found.
*/ */
function taxonomy_get_parents($tid) { function taxonomy_get_parents($tid) {
$parents = &drupal_static(__FUNCTION__, array()); $parents = &drupal_static(__FUNCTION__, array());