- Fixed a typo.

4.0.x
Dries Buytaert 2001-12-09 13:01:43 +00:00
parent e1f21d2b86
commit e8ca5acdde
2 changed files with 12 additions and 12 deletions

View File

@ -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 == "decline") {
return array("status" => 0);
}
if ($op == "update") {
return array();
}
if ($op == "update") {
return array("status" => 0, "teaser" => $node->body);
return array("teaser" => $node->body);
}
}

View File

@ -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 == "decline") {
return array("status" => 0);
}
if ($op == "update") {
return array();
}
if ($op == "update") {
return array("status" => 0, "teaser" => $node->body);
return array("teaser" => $node->body);
}
}