template-rework:little cleanup

This commit is contained in:
rabuzarus 2015-11-03 14:33:17 +01:00
parent e785759a8b
commit a0ae6eb905
1 changed files with 3 additions and 3 deletions

View File

@ -101,15 +101,15 @@ function common_content(&$a) {
foreach($r as $rr) { 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] is needed to use contact_photo_menu()
$rr[id] = $rr[cid]; $rr[id] = $rr[cid];
$photo_menu = ''; $photo_menu = '';
$photo_menu = contact_photo_menu ($rr); $photo_menu = contact_photo_menu ($rr);
//get further details of the contact
$contact_details = get_contact_details_by_url($rr['url'], $uid);
$entry = array( $entry = array(
'url' => $rr['url'], 'url' => $rr['url'],
'itemurl' => $rr['url'], 'itemurl' => $rr['url'],