diff options
author | alecpl <alec@alec.pl> | 2008-06-23 11:07:17 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2008-06-23 11:07:17 +0000 |
commit | 0339e3cc6fcc0df6d0dcd9b434f3dff919adcf7f (patch) | |
tree | 089408e4ab8f780edd15f0dccbbba30bd75900a4 | |
parent | f7a122fefd275b37a73bf3f94fec7f1da5ea542f (diff) |
#1485147
-rw-r--r-- | program/steps/addressbook/edit.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/program/steps/addressbook/edit.inc b/program/steps/addressbook/edit.inc index 4b50fa26f..71983fce6 100644 --- a/program/steps/addressbook/edit.inc +++ b/program/steps/addressbook/edit.inc @@ -92,6 +92,7 @@ function get_form_tags($attrib) $hiddenfields = new html_hiddenfield(array('name' => '_task', 'value' => $RCMAIL->task)); $hiddenfields->add(array('name' => '_action', 'value' => 'save', 'source' => get_input_value('_source', RCUBE_INPUT_GPC))); $hiddenfields->add(array('name' => '_source', 'value' => get_input_value('_source', RCUBE_INPUT_GPC))); + $hiddenfields->add(array('name' => '_framed', 'value' => (empty($_REQUEST['_framed']) ? 0 : 1))); if (($result = $CONTACTS->get_result()) && ($record = $result->first())) $hiddenfields->add(array('name' => '_cid', 'value' => $record['ID'])); |