From 0f374fb944438644b4e1059fc84995615e92e870 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Mon, 2 Jun 2008 14:51:37 -0400 Subject: minor corrections for OMB discovery darcs-hash:20080602185137-84dde-0a3db0833eaf9361447559a6366e3820ae1f0694.gz --- actions/remotesubscribe.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actions/remotesubscribe.php') diff --git a/actions/remotesubscribe.php b/actions/remotesubscribe.php index b0e49903b..c61109d6a 100644 --- a/actions/remotesubscribe.php +++ b/actions/remotesubscribe.php @@ -186,7 +186,7 @@ class RemotesubscribeAction extends Action { # XXX: check that we got all the services we needed foreach (array_merge($omb_endpoints, $oauth_endpoints) as $type) { - if (!array_key_exists($type, $omb)) { + if (!array_key_exists($type, $omb) || !$omb[$type]) { common_debug('remotesubscribe.php - could not find type "'.$type.'"'); return NULL; } -- cgit v1.2.3-54-g00ecf