diff --git a/modules/blog.module b/modules/blog.module index 8f0d0b7d30f42548abf79eebfd5d48169e2854dd..21d21cf6623398140f06ae9d687abd9d72ffd16b 100644 --- a/modules/blog.module +++ b/modules/blog.module @@ -48,7 +48,7 @@ function blog_save($op, $node) { } if ($op == "create") { - return array("body" => filter($node->body), "promote" => 0, "moderate" => 1, "status" => 1); + return array("body" => filter($node->body), "promote" => 0, "moderate" => 1, "status" => 1, "teaser" => filter($node->teaser)); } if ($op == "decline") { @@ -68,7 +68,7 @@ function blog_save($op, $node) { ** entries through the admin pages. */ - return array("body" => filter($node->body), "promote" => 0, "moderate" => 1, "score" => 0, "votes" => 0, "users" => 0); + return array("body" => filter($node->body), "promote" => 0, "moderate" => 1, "score" => 0, "teaser" => filter($node->teaser), "votes" => 0, "users" => 0); } else if (user_access("adminster nodes")) { /* diff --git a/modules/blog/blog.module b/modules/blog/blog.module index 8f0d0b7d30f42548abf79eebfd5d48169e2854dd..21d21cf6623398140f06ae9d687abd9d72ffd16b 100644 --- a/modules/blog/blog.module +++ b/modules/blog/blog.module @@ -48,7 +48,7 @@ function blog_save($op, $node) { } if ($op == "create") { - return array("body" => filter($node->body), "promote" => 0, "moderate" => 1, "status" => 1); + return array("body" => filter($node->body), "promote" => 0, "moderate" => 1, "status" => 1, "teaser" => filter($node->teaser)); } if ($op == "decline") { @@ -68,7 +68,7 @@ function blog_save($op, $node) { ** entries through the admin pages. */ - return array("body" => filter($node->body), "promote" => 0, "moderate" => 1, "score" => 0, "votes" => 0, "users" => 0); + return array("body" => filter($node->body), "promote" => 0, "moderate" => 1, "score" => 0, "teaser" => filter($node->teaser), "votes" => 0, "users" => 0); } else if (user_access("adminster nodes")) { /* diff --git a/modules/story.module b/modules/story.module index 2f8651e0c4c62c107f2622a2ea71058ff4bdea8a..fbaa7d6a19507edf69a61e0787c4fde349fce82c 100644 --- a/modules/story.module +++ b/modules/story.module @@ -32,7 +32,7 @@ function story_save($op, $node) { } if ($op == "create") { - return array("body" => filter($node->body), "moderate" => 1); + return array("body" => filter($node->body), "moderate" => 1, "teaser" => filter($node->teaser)); } if ($op == "decline") { diff --git a/modules/story/story.module b/modules/story/story.module index 2f8651e0c4c62c107f2622a2ea71058ff4bdea8a..fbaa7d6a19507edf69a61e0787c4fde349fce82c 100644 --- a/modules/story/story.module +++ b/modules/story/story.module @@ -32,7 +32,7 @@ function story_save($op, $node) { } if ($op == "create") { - return array("body" => filter($node->body), "moderate" => 1); + return array("body" => filter($node->body), "moderate" => 1, "teaser" => filter($node->teaser)); } if ($op == "decline") {