diff options
author | alecpl <alec@alec.pl> | 2011-07-02 15:27:46 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2011-07-02 15:27:46 +0000 |
commit | 5b3ac324154b0d29e6e14db2b06fbc3636a3e708 (patch) | |
tree | 94fdc54541279065b01dd7f61c061d3e0764bd2e /program/steps/addressbook/save.inc | |
parent | 4b1d5d6e384fc5bddff8ee1c7cb35b8ea9c84bf3 (diff) |
- Added addressbook source selector in contact create form
Diffstat (limited to 'program/steps/addressbook/save.inc')
-rw-r--r-- | program/steps/addressbook/save.inc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/program/steps/addressbook/save.inc b/program/steps/addressbook/save.inc index 19d8f8c7d..e1986efeb 100644 --- a/program/steps/addressbook/save.inc +++ b/program/steps/addressbook/save.inc @@ -24,6 +24,12 @@ $cid = get_input_value('_cid', RCUBE_INPUT_POST); $return_action = empty($cid) ? 'add' : 'edit'; +// Source changed, display the form again +if (!empty($_GET['_reload'])) { + rcmail_overwrite_action($return_action); + return; +} + // cannot edit record if ($CONTACTS->readonly) { $OUTPUT->show_message('contactreadonly', 'error'); |