X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Ftag.php;h=21cae9aba5127e43a83209fc52da13432f384d7b;hb=a70d43a685d72e2bad64efd02bdcc928b921d356;hp=33339cb8bfd153fd95976cfe684dc476ad1300ee;hpb=513c54fa89085fde783a73c298d61576f834b131;p=quix0rs-gnu-social.git diff --git a/actions/tag.php b/actions/tag.php index 33339cb8bf..21cae9aba5 100644 --- a/actions/tag.php +++ b/actions/tag.php @@ -23,6 +23,8 @@ if (!defined('STATUSNET') && !defined('LACONICA')) { exit(1); } class TagAction extends Action { var $notice; + var $tag; + var $page; function prepare($args) { @@ -32,13 +34,10 @@ class TagAction extends Action if (!$this->tag) { common_redirect(common_local_url('publictagcloud'), 301); - return false; } if ($this->tag != $taginput) { - common_redirect(common_local_url('tag', array('tag' => $this->tag)), - 301); - return false; + common_redirect(common_local_url('tag', array('tag' => $this->tag)), 301); } $this->page = ($this->arg('page')) ? ($this->arg('page')+0) : 1;