]> git.mxchange.org Git - friendica.git/blobdiff - include/socgraph.php
Merge pull request #3077 from Hypolite/issue/#3039-mod-1of3
[friendica.git] / include / socgraph.php
index 7c70a22a54f6c50af133abeab7ada0f5cd31cb9e..6249f189e9a0a0d30c0b44cfa4fa78fd95ba86ec 100644 (file)
@@ -220,8 +220,9 @@ function poco_check($profile_url, $name, $network, $profile_photo, $about, $loca
        $r = q("SELECT `network` FROM `contact` WHERE `nurl` = '%s' AND `network` != '' AND `network` != '%s' LIMIT 1",
                dbesc(normalise_link($profile_url)), dbesc(NETWORK_STATUSNET)
        );
-       if (dbm::is_result($r))
+       if (dbm::is_result($r)) {
                $network = $r[0]["network"];
+       }
 
        if (($network == "") OR ($network == NETWORK_OSTATUS)) {
                $r = q("SELECT `network`, `url` FROM `contact` WHERE `alias` IN ('%s', '%s') AND `network` != '' AND `network` != '%s' LIMIT 1",
@@ -1187,7 +1188,7 @@ function update_suggestions() {
 
        $done = array();
 
-       /// TODO Check if it is really neccessary to poll the own server
+       /// @TODO Check if it is really neccessary to poll the own server
        poco_load(0,0,0,App::get_baseurl() . '/poco');
 
        $done[] = App::get_baseurl() . '/poco';