summaryrefslogtreecommitdiff
path: root/program/steps/addressbook/edit.inc
diff options
context:
space:
mode:
authorsvncommit <devs@roundcube.net>2008-05-07 22:16:00 +0000
committersvncommit <devs@roundcube.net>2008-05-07 22:16:00 +0000
commit4f9c8337420327802baf73cde7d96b991b1fd1a9 (patch)
tree4b3e49ee7f75a2f2c544d93a3777570f4ff07659 /program/steps/addressbook/edit.inc
parent1854c4525bf1fce227a8cc0fa8aad06615df0eae (diff)
/tmp/out
Diffstat (limited to 'program/steps/addressbook/edit.inc')
-rw-r--r--program/steps/addressbook/edit.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/program/steps/addressbook/edit.inc b/program/steps/addressbook/edit.inc
index 64eab86eb..9cda22b5b 100644
--- a/program/steps/addressbook/edit.inc
+++ b/program/steps/addressbook/edit.inc
@@ -91,6 +91,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)));
if (($result = $CONTACTS->get_result()) && ($record = $result->first()))
$hiddenfields->add(array('name' => '_cid', 'value' => $record['ID']));
@@ -117,4 +118,4 @@ if (!$CONTACTS->get_result() && template_exists('addcontact'))
// this will be executed if no template for addcontact exists
$OUTPUT->send('editcontact');
-?> \ No newline at end of file
+?>