summaryrefslogtreecommitdiff
path: root/lib/omb.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-06-02 14:12:54 -0400
committerEvan Prodromou <evan@prodromou.name>2008-06-02 14:12:54 -0400
commit3b9f0e3867f98c1022654ca22ba155369600bddc (patch)
treea4a82d5d4d981633fd88583a06ea56e20332bb5d /lib/omb.php
parent74bec9503281d6a18c8b56b03e57d58ce9c4eddf (diff)
add some debugging stuff for problems with remote subscribe
darcs-hash:20080602181254-84dde-ac7f4a362754a66facfb06a7b41f9160a0eb5caf.gz
Diffstat (limited to 'lib/omb.php')
-rw-r--r--lib/omb.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/omb.php b/lib/omb.php
index 5f31de42c..ae7531ce8 100644
--- a/lib/omb.php
+++ b/lib/omb.php
@@ -75,6 +75,9 @@ function omb_match_service($service, $type) {
}
function omb_service_uri($service) {
+ if (!$service) {
+ return NULL;
+ }
$uris = $service->getURIs();
if (!$uris) {
return NULL;