summaryrefslogtreecommitdiff
path: root/modules/poll.module
diff options
context:
space:
mode:
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 {