summaryrefslogtreecommitdiff
path: root/modules/poll.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-02-11 20:01:17 +0000
committerDries Buytaert <dries@buytaert.net>2003-02-11 20:01:17 +0000
commite90f3b883b0655ccba009f2fbef982696341a1a2 (patch)
tree0afa31bda8e395e9addfadae4eb62067392abe20 /modules/poll.module
parent3d3a60740a63e8c803d0905b2727bb202e6de370 (diff)
downloadbrdo-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.module4
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 {