summaryrefslogtreecommitdiff
path: root/modules/poll.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2005-11-02 08:58:27 +0000
committerDries Buytaert <dries@buytaert.net>2005-11-02 08:58:27 +0000
commit76012bc70a4f6ca69dc9ed6ab96c030334384f70 (patch)
tree60bf2dfd6953b253af6a8c892c791408c1dce775 /modules/poll.module
parent46abc88ee4513d8fd52f7e3ef9a68ff415131dff (diff)
downloadbrdo-76012bc70a4f6ca69dc9ed6ab96c030334384f70.tar.gz
brdo-76012bc70a4f6ca69dc9ed6ab96c030334384f70.tar.bz2
- Patch #35481 by javanaut: make the 'more choices' option for polls work.
Diffstat (limited to 'modules/poll.module')
-rw-r--r--modules/poll.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/poll.module b/modules/poll.module
index 16e97eebc..89e2757f3 100644
--- a/modules/poll.module
+++ b/modules/poll.module
@@ -131,7 +131,7 @@ function poll_form(&$node) {
}
// User ticked 'need more choices'.
- if ($node->morechoices) {
+ if ($_POST['edit']['morechoices']) {
$node->choices *= 2;
}