X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fsocgraph.php;h=6249f189e9a0a0d30c0b44cfa4fa78fd95ba86ec;hb=df8b522f6b96bc3a631e608ee430555590e91f0c;hp=7c70a22a54f6c50af133abeab7ada0f5cd31cb9e;hpb=70a042fd04d0481ed3893454c11e8d4323584e74;p=friendica.git diff --git a/include/socgraph.php b/include/socgraph.php index 7c70a22a54..6249f189e9 100644 --- a/include/socgraph.php +++ b/include/socgraph.php @@ -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';