- Patch #35481 by javanaut: make the 'more choices' option for polls work.
parent
46abc88ee4
commit
76012bc70a
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue