From: James Walker Date: Tue, 9 Mar 2010 06:24:21 +0000 (-0500) Subject: wrong param order to strpos() X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=7214db14fe37798623acab2e6f5755d05bacbc8f;p=quix0rs-gnu-social.git wrong param order to strpos() --- diff --git a/plugins/OStatus/classes/HubSub.php b/plugins/OStatus/classes/HubSub.php index 3120a70f9f..c420b3eef8 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 .= '?';