Commit 032544cf authored by Dries's avatar Dries
Browse files

- Patch #18861 by nkurz: fixed logic error in taxonomy_node_save().

  (Not sure how/when it triggered.)
parent 2919df0e
......@@ -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);
}
}
......
......@@ -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);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment