Commit 76012bc7 authored by Dries's avatar Dries

- Patch #35481 by javanaut: make the 'more choices' option for polls work.

parent 46abc88e
......@@ -131,7 +131,7 @@ function poll_form(&$node) {
}
// User ticked 'need more choices'.
if ($node->morechoices) {
if ($_POST['edit']['morechoices']) {
$node->choices *= 2;
}
......
......@@ -131,7 +131,7 @@ function poll_form(&$node) {
}
// User ticked 'need more choices'.
if ($node->morechoices) {
if ($_POST['edit']['morechoices']) {
$node->choices *= 2;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment