summaryrefslogtreecommitdiff
path: root/roundcubemail/program/steps/mail
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-05-04 06:53:56 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-05-04 06:53:56 +0000
commitd1b717b413e62562e399d42a0005fb37190112cb (patch)
tree860fabcce92e43c63ad4ae00642c41e566a54b3a /roundcubemail/program/steps/mail
parent77873a42821416748ad54816a9c6279a1f5fa5f8 (diff)
- more addressbooks hooks (#1485829)
git-svn-id: https://svn.roundcube.net/trunk@2450 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps/mail')
-rw-r--r--roundcubemail/program/steps/mail/addcontact.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/steps/mail/addcontact.inc b/roundcubemail/program/steps/mail/addcontact.inc
index 6ae0eec65..5f8c6d14d 100644
--- a/roundcubemail/program/steps/mail/addcontact.inc
+++ b/roundcubemail/program/steps/mail/addcontact.inc
@@ -43,7 +43,7 @@ if (!empty($_POST['_address']) && is_object($CONTACTS))
$OUTPUT->show_message('contactexists', 'warning');
else
{
- $plugin = $RCMAIL->plugins->exec_hook('create_contact', array('record' => $contact, 'source' => get_input_value('_source', RCUBE_INPUT_GPC)));
+ $plugin = $RCMAIL->plugins->exec_hook('create_contact', array('record' => $contact, 'source' => null));
$contact = $plugin['record'];
if (!$plugin['abort'] && ($done = $CONTACTS->insert($contact)))