diff options
author | Neil Drumm <drumm@3064.no-reply.drupal.org> | 2006-08-29 09:12:03 +0000 |
---|---|---|
committer | Neil Drumm <drumm@3064.no-reply.drupal.org> | 2006-08-29 09:12:03 +0000 |
commit | bceaf8f0daf1d76bb33afdef8ea231fbc855a5c2 (patch) | |
tree | cec3f6333255ce0632498c8594bd56c67a140726 /modules/poll | |
parent | ad0e8b5615f4585f78ccbe27912c2545875a77f1 (diff) | |
download | brdo-bceaf8f0daf1d76bb33afdef8ea231fbc855a5c2.tar.gz brdo-bceaf8f0daf1d76bb33afdef8ea231fbc855a5c2.tar.bz2 |
#80574 Eaton and chx. Replace $_POST['edit'] with $_POST.
Diffstat (limited to 'modules/poll')
-rw-r--r-- | modules/poll/poll.module | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/poll/poll.module b/modules/poll/poll.module index 186562887..ddf36ea02 100644 --- a/modules/poll/poll.module +++ b/modules/poll/poll.module @@ -468,7 +468,7 @@ function poll_vote(&$node) { $nid = arg(1); if ($node = node_load($nid)) { - $edit = $_POST['edit']; + $edit = $_POST; $choice = $edit['choice']; $vote = $_POST['vote']; @@ -513,7 +513,7 @@ function poll_cancel(&$node) { $nid = arg(2); if ($node = node_load(array('nid' => $nid))) { - $edit = $_POST['edit']; + $edit = $_POST; $choice = $edit['choice']; $cancel = $_POST['cancel']; |