diff options
author | Dries Buytaert <dries@buytaert.net> | 2007-03-25 19:06:53 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2007-03-25 19:06:53 +0000 |
commit | f37abe6074fa387ad821776cb58d539a6e4fd47a (patch) | |
tree | d636ce30406301cab9b0de2ecd002ce111c590b2 /modules/taxonomy/taxonomy.module | |
parent | bb49dd5af56d8b866bea912fa7d151873c8cd55c (diff) | |
download | brdo-f37abe6074fa387ad821776cb58d539a6e4fd47a.tar.gz brdo-f37abe6074fa387ad821776cb58d539a6e4fd47a.tar.bz2 |
- Patch #130831 by ChrisKennedy: l() error in taxonomy.module.
Diffstat (limited to 'modules/taxonomy/taxonomy.module')
-rw-r--r-- | modules/taxonomy/taxonomy.module | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module index a5401debf..c05c866f0 100644 --- a/modules/taxonomy/taxonomy.module +++ b/modules/taxonomy/taxonomy.module @@ -398,7 +398,6 @@ function taxonomy_form_term($vocabulary, $edit = array()) { if ($vocabulary->hierarchy == 1) { $form['parent'] = _taxonomy_term_select(t('Parent'), 'parent', $parent, $vocabulary_id, l(t('Parent term'), 'admin/help/taxonomy', array('fragment' => 'parent')) .'.', 0, '<'. t('root') .'>', $exclude); - $form['parent'] = _taxonomy_term_select(t('Parent'), 'parent', $parent, $vocabulary->vid, l(t('Parent term'), 'admin/help/taxonomy', NULL, NULL, 'parent') .'.', 0, '<'. t('root') .'>', $exclude); } elseif ($vocabulary->hierarchy == 2) { $form['parent'] = _taxonomy_term_select(t('Parents'), 'parent', $parent, $vocabulary_id, l(t('Parent terms'), 'admin/help/taxonomy', array('fragment' => 'parent')) .'.', 1, '<'. t('root') .'>', $exclude); |