Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
f37abe60
Commit
f37abe60
authored
Mar 25, 2007
by
Dries Buytaert
Browse files
- Patch
#130831
by ChrisKennedy: l() error in taxonomy.module.
parent
bb49dd5a
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/taxonomy/taxonomy.module
View file @
f37abe60
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment