From f37abe6074fa387ad821776cb58d539a6e4fd47a Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 25 Mar 2007 19:06:53 +0000 Subject: - Patch #130831 by ChrisKennedy: l() error in taxonomy.module. --- modules/taxonomy/taxonomy.module | 1 - 1 file changed, 1 deletion(-) (limited to 'modules/taxonomy/taxonomy.module') 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); -- cgit v1.2.3