]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
wrong param order to strpos()
authorJames Walker <walkah@walkah.net>
Tue, 9 Mar 2010 06:24:21 +0000 (01:24 -0500)
committerJames Walker <walkah@walkah.net>
Tue, 9 Mar 2010 06:24:21 +0000 (01:24 -0500)
plugins/OStatus/classes/HubSub.php

index 3120a70f9fb39dd978c14482c59b79ed90abbbc4..c420b3eef8414826101910e08ec9f8e07bb1a642 100644 (file)
@@ -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 .= '?';