Commit 36721f46 authored by Dries's avatar Dries
Browse files

- Fixed a problem editing nodes.  Spotted by Steven.
parent 4b0b2d02
......@@ -214,7 +214,7 @@ function forum_validate(&$node) {
}
function forum_form(&$node, &$error) {
if (!$node->taxonomy) {
if (!$node->nid) {
// new topic
$node->taxonomy[] = arg(3);
}
......
......@@ -214,7 +214,7 @@ function forum_validate(&$node) {
}
function forum_form(&$node, &$error) {
if (!$node->taxonomy) {
if (!$node->nid) {
// new topic
$node->taxonomy[] = arg(3);
}
......
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