diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-02-11 20:01:17 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-02-11 20:01:17 +0000 |
commit | e90f3b883b0655ccba009f2fbef982696341a1a2 (patch) | |
tree | 0afa31bda8e395e9addfadae4eb62067392abe20 /modules/poll.module | |
parent | 3d3a60740a63e8c803d0905b2727bb202e6de370 (diff) | |
download | brdo-e90f3b883b0655ccba009f2fbef982696341a1a2.tar.gz brdo-e90f3b883b0655ccba009f2fbef982696341a1a2.tar.bz2 |
- See http://lists.drupal.org/pipermail/drupal-devel/2003-February/021824.html.
Diffstat (limited to 'modules/poll.module')
-rw-r--r-- | modules/poll.module | 4 |
1 files changed, 2 insertions, 2 deletions
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 { |