aboutsummaryrefslogtreecommitdiff
path: root/src/phinde/Subscriptions.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/phinde/Subscriptions.php')
-rw-r--r--src/phinde/Subscriptions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/phinde/Subscriptions.php b/src/phinde/Subscriptions.php
index 403f5d4..4650a0c 100644
--- a/src/phinde/Subscriptions.php
+++ b/src/phinde/Subscriptions.php
@@ -262,7 +262,7 @@ class Subscriptions
$urls = $hue->getUrls($url);
//we violate the spec by not requiring a self URL
$topicUrl = isset($urls['self']) ? $urls['self'] : $url;
- $hubUrl = isset($urls['hub']) ? $urls['hub'] : null;
+ $hubUrl = isset($urls['hub'][0]) ? $urls['hub'][0] : null;
return array($topicUrl, $hubUrl);
}