summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Walker <walkah@walkah.net>2010-03-09 01:24:21 -0500
committerJames Walker <walkah@walkah.net>2010-03-09 01:24:21 -0500
commit7214db14fe37798623acab2e6f5755d05bacbc8f (patch)
treee6357be72f8f9de236e0a2832b41a5db544ca1ad
parent691c88bce8fa37d1d371988857645b6cdd9994d9 (diff)
wrong param order to strpos()
-rw-r--r--plugins/OStatus/classes/HubSub.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/OStatus/classes/HubSub.php b/plugins/OStatus/classes/HubSub.php
index 3120a70f9..c420b3eef 100644
--- a/plugins/OStatus/classes/HubSub.php
+++ b/plugins/OStatus/classes/HubSub.php
@@ -192,7 +192,7 @@ class HubSub extends Memcached_DataObject
// Any existing query string parameters must be preserved
$url = $this->callback;
- if (strpos('?', $url) !== false) {
+ if (strpos($url, '?') !== false) {
$url .= '&';
} else {
$url .= '?';