the signature of the function to get a select box for terms is as

function _taxonomy_term_select($title, $name, $value, $vocabulary_id, $description, $multiple, $blank, $exclude = array()) {

however, i checked the code and it seems the 2nd parameter $name is not used anywhere in the function. is it needed ?
is it kept for future use ? if not, i think it could be removed so that it does not confuse other programmers. especially since
there's no comments for the function _taxonomy_term_select

thx.

yashesh bhatia

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

michalto’s picture

I've removed the named parameter. It is a small thing but it was my first experience with OSS development and contribution. I hope it will be accepeted.

marcingy’s picture

Status: Active » Closed (fixed)

Function no longer exists in head