]> git.mxchange.org Git - friendica.git/blobdiff - mod/crepair.php
Merge pull request #5702 from annando/and-a-notice
[friendica.git] / mod / crepair.php
index 37956421f52bdaa69a1cca9f94f7f42c171ab96f..076c611db42a11e462e19c2862c8dbaa0b1bceb6 100644 (file)
@@ -103,7 +103,7 @@ function crepair_content(App $a)
 
        $cid = (($a->argc > 1) ? intval($a->argv[1]) : 0);
 
-               $contact = null;
+       $contact = null;
        if ($cid) {
                $contact = DBA::selectFirst('contact', [], ['id' => $cid, 'uid' => local_user()]);
        }
@@ -135,7 +135,7 @@ function crepair_content(App $a)
 
        $update_profile = in_array($contact['network'], [Protocol::DFRN, Protocol::DIASPORA, Protocol::OSTATUS]);
 
-       $tab_str = contacts_tab($a, $contact['id'], 5);
+       $tab_str = contacts_tab($a, $contact, 5);
 
        $tpl = get_markup_template('crepair.tpl');
        $o = replace_macros($tpl, [