program/steps/addressbook/edit.inc
@@ -88,6 +88,7 @@ if (empty($EDIT_FORM)) { $hiddenfields = new html_hiddenfield(array('name' => '_source', 'value' => get_input_value('_source', RCUBE_INPUT_GPC))); $hiddenfields->add(array('name' => '_gid', 'value' => $CONTACTS->group_id)); if (($result = $CONTACTS->get_result()) && ($record = $result->first())) $hiddenfields->add(array('name' => '_cid', 'value' => $record['ID'])); @@ -109,4 +110,4 @@ // this will be executed if no template for addcontact exists $OUTPUT->send('editcontact'); ?>