From a0ae6eb905db5dff2ef5d7144ae11eb00b9d310e Mon Sep 17 00:00:00 2001 From: rabuzarus <> Date: Tue, 3 Nov 2015 14:33:17 +0100 Subject: [PATCH] template-rework:little cleanup --- mod/common.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mod/common.php b/mod/common.php index 60a4a450b..560865b15 100644 --- a/mod/common.php +++ b/mod/common.php @@ -101,15 +101,15 @@ function common_content(&$a) { foreach($r as $rr) { + //get further details of the contact + $contact_details = get_contact_details_by_url($rr['url'], $uid); + // $rr[id] is needed to use contact_photo_menu() $rr[id] = $rr[cid]; $photo_menu = ''; $photo_menu = contact_photo_menu ($rr); - //get further details of the contact - $contact_details = get_contact_details_by_url($rr['url'], $uid); - $entry = array( 'url' => $rr['url'], 'itemurl' => $rr['url'],