From: Adrian Lang Date: Sun, 8 Mar 2009 16:04:48 +0000 (+0100) Subject: Typo in lib/omb.php updateprofile request handling. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e8e40439961160989c32e1cd661ecce94b75fcee;p=quix0rs-gnu-social.git Typo in lib/omb.php updateprofile request handling. --- diff --git a/lib/omb.php b/lib/omb.php index befcf4666a..c302a7b649 100644 --- a/lib/omb.php +++ b/lib/omb.php @@ -295,7 +295,7 @@ function omb_update_profile($profile, $remote_profile, $subscription) common_debug('Got HTTP result "'.print_r($result,true).'"', __FILE__); - if (empty($result) || $result) { + if (empty($result) || !$result) { common_debug("Unable to contact " . $req->get_normalized_http_url()); } else if ($result->status == 403) { # not authorized, don't send again common_debug('403 result, deleting subscription', __FILE__);