summaryrefslogtreecommitdiff
path: root/program/steps/mail
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2009-05-04 06:53:56 +0000
committeralecpl <alec@alec.pl>2009-05-04 06:53:56 +0000
commit6fd71e3ed49aa71aa90e4cfd9bfeda4b48a1ab47 (patch)
treefe5cfeade813f7ef169a072fb0adfef5353c5c9f /program/steps/mail
parent50d515a7d690f6017d97017f1370705e1a214c27 (diff)
- more addressbooks hooks (#1485829)
Diffstat (limited to 'program/steps/mail')
-rw-r--r--program/steps/mail/addcontact.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/addcontact.inc b/program/steps/mail/addcontact.inc
index 6ae0eec65..5f8c6d14d 100644
--- a/program/steps/mail/addcontact.inc
+++ b/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)))