summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Lang <mail@adrianlang.de>2009-03-08 17:04:48 +0100
committerAdrian Lang <mail@adrianlang.de>2009-03-08 17:04:48 +0100
commite8e40439961160989c32e1cd661ecce94b75fcee (patch)
treeee95fad34cad5b09c7a52c55755ee558a819f946
parentc8b10381a9157144f8c92dede1ebabc6b05390c0 (diff)
Typo in lib/omb.php updateprofile request handling.
-rw-r--r--lib/omb.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/omb.php b/lib/omb.php
index befcf4666..c302a7b64 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__);