diff options
author | webchick <webchick@24967.no-reply.drupal.org> | 2011-08-22 03:45:06 +0100 |
---|---|---|
committer | webchick <webchick@24967.no-reply.drupal.org> | 2011-08-22 03:45:06 +0100 |
commit | f6227eea35cbf12b0023c5b57f4a7341403f541e (patch) | |
tree | e1302c52b4bff6aebbfd59adf6f42a0f20efaa65 /modules/poll/poll.module | |
parent | 317e0ff6c7d8b1c0b09e8e6edd23ddff914497cf (diff) | |
download | brdo-f6227eea35cbf12b0023c5b57f4a7341403f541e.tar.gz brdo-f6227eea35cbf12b0023c5b57f4a7341403f541e.tar.bz2 |
Issue #1244784 by marcingy: Fixed Add another answer in edit poll, not saved.
Diffstat (limited to 'modules/poll/poll.module')
-rw-r--r-- | modules/poll/poll.module | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/poll/poll.module b/modules/poll/poll.module index 861969573..01c6bcc80 100644 --- a/modules/poll/poll.module +++ b/modules/poll/poll.module @@ -583,7 +583,10 @@ function poll_update($node) { 'chvotes' => (int) $choice['chvotes'], 'weight' => $choice['weight'], )) - ->insertFields(array('nid' => $node->nid)) + ->insertFields(array( + 'nid' => $node->nid, + 'chtext' => $choice['chtext'], + )) ->execute(); } else { |