From: Mikael Nordfeldth Date: Sat, 27 Aug 2016 13:06:12 +0000 (+0200) Subject: Don't redirect to tag cloud on /tag URL X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5a008c37389dfdfc64f17eed8d0b259d3b5aaed6;p=quix0rs-gnu-social.git Don't redirect to tag cloud on /tag URL (this is probably just while we pluginify TagCloud) --- diff --git a/actions/tag.php b/actions/tag.php index 751e8dcec5..ccd2c7fbe0 100644 --- a/actions/tag.php +++ b/actions/tag.php @@ -34,7 +34,7 @@ class TagAction extends ManagedAction $this->tag = common_canonical_tag($taginput); if (empty($this->tag)) { - common_redirect(common_local_url('publictagcloud'), 301); + throw new ClientException(_('No valid tag data.')); } // after common_canonical_tag we have a lowercase, no-specials tag string