summaryrefslogtreecommitdiff
path: root/program/steps/addressbook/show.inc
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2011-06-29 17:15:08 +0000
committeralecpl <alec@alec.pl>2011-06-29 17:15:08 +0000
commitc3dabfad7ac668cb9bdcbf8ccf221d82fadd9c9c (patch)
tree76c83abd081a123ab8adafa8afed11a904fd7572 /program/steps/addressbook/show.inc
parent77406bb73192149d907bc7fc2b069318caa8f04f (diff)
- Fixed link to contact photo, when browsing the search results (#1487980)
Diffstat (limited to 'program/steps/addressbook/show.inc')
-rw-r--r--program/steps/addressbook/show.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/program/steps/addressbook/show.inc b/program/steps/addressbook/show.inc
index 36aff3141..fc983e60b 100644
--- a/program/steps/addressbook/show.inc
+++ b/program/steps/addressbook/show.inc
@@ -25,7 +25,8 @@ $source = key($cids);
$cid = array_shift($cids[$source]);
// Initialize addressbook source
-$CONTACTS = rcmail_contact_source($source, true);
+$CONTACTS = rcmail_contact_source($source, true);
+$SOURCE_ID = $source;
// read contact record
if ($cid && ($record = $CONTACTS->get_record($cid, true))) {