program/steps/addressbook/show.inc
@@ -32,6 +32,15 @@ $OUTPUT->set_env('cid', $record['ID']); } // get address book name (for display) if ($_SESSION['addressbooks_count'] > 1) { $name = $CONTACTS->get_name(); if (!$name && $source == 0) { $name = rcube_label('personaladrbook'); } $OUTPUT->set_env('sourcename', $name); } // return raw photo of the given contact if ($RCMAIL->action == 'photo') { if (($file_id = get_input_value('_photo', RCUBE_INPUT_GPC)) && ($tempfile = $_SESSION['contacts']['files'][$file_id])) {