Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
032544cf
Commit
032544cf
authored
Mar 15, 2005
by
Dries
Browse files
- Patch
#18861
by nkurz: fixed logic error in taxonomy_node_save().
(Not sure how/when it triggered.)
parent
2919df0e
Changes
2
Hide whitespace changes
Inline
Side-by-side
modules/taxonomy.module
View file @
032544cf
...
...
@@ -504,7 +504,7 @@ function taxonomy_node_save($nid, $terms) {
}
}
}
if
(
$term
)
{
else
if
(
$term
)
{
db_query
(
'INSERT INTO {term_node} (nid, tid) VALUES (%d, %d)'
,
$nid
,
$term
);
}
}
...
...
modules/taxonomy/taxonomy.module
View file @
032544cf
...
...
@@ -504,7 +504,7 @@ function taxonomy_node_save($nid, $terms) {
}
}
}
if
(
$term
)
{
else
if
(
$term
)
{
db_query
(
'INSERT INTO {term_node} (nid, tid) VALUES (%d, %d)'
,
$nid
,
$term
);
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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