diff options
author | Aleksander Machniak <alec@alec.pl> | 2013-05-06 12:07:05 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2013-05-06 12:07:05 +0200 |
commit | c027ba7709a86c23038428de15ffed503e67c522 (patch) | |
tree | a452d21c0a296edb2d8febd7c7712f40ea3535ed /program/steps/addressbook/show.inc | |
parent | 3a0dc87856cc0c2a47649e58e930621506e64cbf (diff) |
Fix bugs caught by static analysis
Diffstat (limited to 'program/steps/addressbook/show.inc')
-rw-r--r-- | program/steps/addressbook/show.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/addressbook/show.inc b/program/steps/addressbook/show.inc index 16be89f94..d583a6d36 100644 --- a/program/steps/addressbook/show.inc +++ b/program/steps/addressbook/show.inc @@ -223,7 +223,7 @@ function rcmail_contact_record_groups($contact_id) } $hiddenfields = new html_hiddenfield(array('name' => '_source', 'value' => get_input_value('_source', RCUBE_INPUT_GPC))); - $hiddenfields->add(array('name' => '_cid', 'value' => $record['ID'])); + $hiddenfields->add(array('name' => '_cid', 'value' => $contact_id)); $form_start = $RCMAIL->output->request_form(array( 'name' => "form", 'method' => "post", |