diff options
author | Aleksander Machniak <alec@alec.pl> | 2012-11-25 11:25:14 +0100 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2012-11-25 11:25:14 +0100 |
commit | 5352b55779aadc8b4c665daf69c7a27767f17d78 (patch) | |
tree | 07b1dbe580b644d2578071956349bffac63b6b4c /program/steps/addressbook/edit.inc | |
parent | 297c1afb80bc73e595a6dad42adcd536cf947ea8 (diff) | |
parent | 65dff8f812cc6b0c4fdd470905700143910289b2 (diff) |
Merge branch 'master' of github.com:roundcube/roundcubemail
Conflicts:
CHANGELOG
Diffstat (limited to 'program/steps/addressbook/edit.inc')
-rw-r--r-- | program/steps/addressbook/edit.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/program/steps/addressbook/edit.inc b/program/steps/addressbook/edit.inc index b216a7c70..d175c05d9 100644 --- a/program/steps/addressbook/edit.inc +++ b/program/steps/addressbook/edit.inc @@ -52,7 +52,7 @@ else { // find writable addressbook if (!$CONTACTS || $CONTACTS->readonly) - $source = rcmail_default_source(true); + $source = $RCMAIL->get_address_book(-1, true); // Initialize addressbook $CONTACTS = rcmail_contact_source($source, true); @@ -239,7 +239,7 @@ function rcmail_source_selector($attrib) { global $RCMAIL, $SOURCE_ID; - $sources_list = $RCMAIL->get_address_sources(true); + $sources_list = $RCMAIL->get_address_sources(true, true); if (count($sources_list) < 2) { $source = $sources_list[$SOURCE_ID]; |