Don't redirect to tag cloud on /tag URL
(this is probably just while we pluginify TagCloud)
This commit is contained in:
parent
27022e7c39
commit
5a008c3738
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user