From: Michael Vogel Date: Mon, 28 Dec 2015 16:09:22 +0000 (+0100) Subject: code cleanup X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4c08b0ceb6e4f12452a124ced63c0711e908d2bf;p=friendica.git code cleanup --- diff --git a/include/Scrape.php b/include/Scrape.php index af91d38d5c..cb192c77c2 100644 --- a/include/Scrape.php +++ b/include/Scrape.php @@ -529,9 +529,9 @@ function probe_url($url, $mode = PROBE_NORMAL, $level = 1) { } } + if(strlen($dfrn)) { $ret = scrape_dfrn(($hcard) ? $hcard : $dfrn, true); - if(is_array($ret) && x($ret,'dfrn-request')) { $network = NETWORK_DFRN; $request = $ret['dfrn-request'];