X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fping.php;h=d26c7341750600fb6db0fd95e4bfbc4f85e863c1;hb=6dcded4129cebf2e492499cd258bf14a6e25eff9;hp=3de541e9aaf721ec8cbac4e65aabdfbc34d727c9;hpb=47fc824e270bac8bc930587441d4c196af7ca766;p=quix0rs-gnu-social.git diff --git a/lib/ping.php b/lib/ping.php index 3de541e9aa..d26c734175 100644 --- a/lib/ping.php +++ b/lib/ping.php @@ -59,7 +59,7 @@ function ping_broadcast_notice($notice) { $response = xmlrpc_decode($file); - if (xmlrpc_is_fault($response)) { + if (is_array($response) && xmlrpc_is_fault($response)) { common_log(LOG_WARNING, "XML-RPC error for ping ($notify_url, $notice->id) ". "$response[faultString] ($response[faultCode])");