Commit e8ca5acd authored by Dries's avatar Dries

- Fixed a typo.
parent e1f21d2b
......@@ -21,15 +21,15 @@ function forum_save($op, $node) {
}
if ($op == "create") {
return array("promote" => 0, "moderate" => 0, "status" => 1, "teaser" => $node->body);
return array("teaser" => $node->body);
}
if ($op == "update") {
return array();
if ($op == "decline") {
return array("status" => 0);
}
if ($op == "update") {
return array("status" => 0, "teaser" => $node->body);
return array("teaser" => $node->body);
}
}
......
......@@ -21,15 +21,15 @@ function forum_save($op, $node) {
}
if ($op == "create") {
return array("promote" => 0, "moderate" => 0, "status" => 1, "teaser" => $node->body);
return array("teaser" => $node->body);
}
if ($op == "update") {
return array();
if ($op == "decline") {
return array("status" => 0);
}
if ($op == "update") {
return array("status" => 0, "teaser" => $node->body);
return array("teaser" => $node->body);
}
}
......
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