From 66c5b70736553b2c84eb8835e7b4c3ad7c34c8f8 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 22 Oct 2002 18:46:43 +0000 Subject: - Wrapped some hardcoded colors in "theme_invoke()"s; we can still create a drupal_error() later on but I think we better get used to theme_invoke(). - Fixed translation bug. Patch by Moshe. - Fixed PHP warning. Patch by ax. --- modules/blog/blog.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/blog/blog.module') diff --git a/modules/blog/blog.module b/modules/blog/blog.module index 7aba6d5dc..0869fe19e 100644 --- a/modules/blog/blog.module +++ b/modules/blog/blog.module @@ -228,7 +228,7 @@ function blog_form(&$node, &$help, &$error) { */ if (count(explode(" ", $node->body)) < variable_get("minimum_blog_size", 0)) { - $error["body"] = "
". t("The body of your blog is too short.") ."
"; + $error["body"] = theme_invoke("theme_error", t("The body of your blog is too short.")); } } else { -- cgit v1.2.3