From e90f3b883b0655ccba009f2fbef982696341a1a2 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 11 Feb 2003 20:01:17 +0000 Subject: - See http://lists.drupal.org/pipermail/drupal-devel/2003-February/021824.html. --- modules/poll.module | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/poll.module') diff --git a/modules/poll.module b/modules/poll.module index aa2939acb..2ad8c4ad6 100644 --- a/modules/poll.module +++ b/modules/poll.module @@ -91,12 +91,12 @@ function poll_form(&$node, &$help, &$error) { } if ($node->chvotes[$i] < 0) { - $error["chvotes][$i"] = theme_invoke("theme_error", t("Negative values are not allowed.")); + $error["chvotes][$i"] = theme("theme_error", t("Negative values are not allowed.")); } } if ($actualchoices < 2) { - $error["choice][0"] = theme_invoke("theme_error", t("You must fill in at least two choices.")); + $error["choice][0"] = theme("theme_error", t("You must fill in at least two choices.")); } } else { -- cgit v1.2.3