From: Evan Prodromou Date: Mon, 12 Nov 2012 03:55:22 +0000 (-0500) Subject: $this->q => $q X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=6aaee4e5fe8e934db9770858b8fbf9e8581cd1ee;p=quix0rs-gnu-social.git $this->q => $q --- diff --git a/actions/apisearchjson.php b/actions/apisearchjson.php index dcdf055c6f..612dbdda5c 100644 --- a/actions/apisearchjson.php +++ b/actions/apisearchjson.php @@ -122,7 +122,7 @@ class ApiSearchJSONAction extends ApiPrivateAuthAction // TODO: Support search operators like from: and to:, boolean, etc. - if (preg_match('/^#([\pL\pN_\-\.]{1,64})/ue', $this->q)) { + if (preg_match('/^#([\pL\pN_\-\.]{1,64})$/ue', $q)) { $stream = new TagNoticeStream(substr($q, 1), $this->auth_profile); } else if ($this->isAnURL($q)) { $canon = File_redirection::_canonUrl($q);