summaryrefslogtreecommitdiff
path: root/roundcubemail/program/steps/mail/addcontact.inc
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-12-07 10:41:15 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-12-07 10:41:15 +0000
commitea3d91249609d60de8ea570b2f7694fc283a175c (patch)
treebec327a12af45080ff03ed46cc7d665563af1aec /roundcubemail/program/steps/mail/addcontact.inc
parent34e371d586aa6fb180cb799a541d4fdf57925df4 (diff)
- Remove deprecated global $IMAP variable usage (#1488148)
git-svn-id: https://svn.roundcube.net/trunk@5563 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps/mail/addcontact.inc')
-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 a4feb7b58..0120852a9 100644
--- a/roundcubemail/program/steps/mail/addcontact.inc
+++ b/roundcubemail/program/steps/mail/addcontact.inc
@@ -37,7 +37,7 @@ if ($abook == null || !is_object($CONTACTS)) {
if (!empty($_POST['_address']) && is_object($CONTACTS))
{
- $contact_arr = $IMAP->decode_address_list(get_input_value('_address', RCUBE_INPUT_POST, true), 1, false);
+ $contact_arr = $RCMAIL->imap->decode_address_list(get_input_value('_address', RCUBE_INPUT_POST, true), 1, false);
if (!empty($contact_arr[1]['mailto'])) {
$contact = array(