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

4.7.x
Dries Buytaert 2005-11-02 08:58:27 +00:00
parent 46abc88ee4
commit 76012bc70a
2 changed files with 2 additions and 2 deletions

View File

@ -131,7 +131,7 @@ function poll_form(&$node) {
}
// User ticked 'need more choices'.
if ($node->morechoices) {
if ($_POST['edit']['morechoices']) {
$node->choices *= 2;
}

View File

@ -131,7 +131,7 @@ function poll_form(&$node) {
}
// User ticked 'need more choices'.
if ($node->morechoices) {
if ($_POST['edit']['morechoices']) {
$node->choices *= 2;
}