From 0d7936264670a17dd501cd781fcaf3d26040b7b7 Mon Sep 17 00:00:00 2001 From: Dries Buytaert <dries@buytaert.net> Date: Sat, 8 Dec 2001 13:34:22 +0000 Subject: [PATCH] - re-enabled the teasers --- modules/blog.module | 4 ++-- modules/blog/blog.module | 4 ++-- modules/story.module | 2 +- modules/story/story.module | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/modules/blog.module b/modules/blog.module index 8f0d0b7d30f4..21d21cf66233 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 8f0d0b7d30f4..21d21cf66233 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 2f8651e0c4c6..fbaa7d6a1950 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 2f8651e0c4c6..fbaa7d6a1950 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") { -- GitLab