From 3b9f0e3867f98c1022654ca22ba155369600bddc Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Mon, 2 Jun 2008 14:12:54 -0400 Subject: add some debugging stuff for problems with remote subscribe darcs-hash:20080602181254-84dde-ac7f4a362754a66facfb06a7b41f9160a0eb5caf.gz --- lib/omb.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/omb.php') 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; -- cgit v1.2.3-54-g00ecf