summaryrefslogtreecommitdiff
path: root/actions/remotesubscribe.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/remotesubscribe.php')
-rw-r--r--actions/remotesubscribe.php2
1 files changed, 1 insertions, 1 deletions
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;
}