]> git.mxchange.org Git - friendica.git/commitdiff
template-rework:little cleanup
authorrabuzarus <>
Tue, 3 Nov 2015 13:33:17 +0000 (14:33 +0100)
committerrabuzarus <>
Tue, 3 Nov 2015 13:33:17 +0000 (14:33 +0100)
mod/common.php

index 60a4a450b212f66336956905ac833b83a1a8c62e..560865b15402de32449ef30c428ee3781289d030 100644 (file)
@@ -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'],