]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/tag.php
Added filler text to popular page for when it's empty, encouraging user to add favori...
[quix0rs-gnu-social.git] / actions / tag.php
index 231f2c299280580842099f251541fbc9d2619204..d15f64498dc0c76e2fd1f5c47f20889c7e82ec37 100644 (file)
@@ -33,7 +33,9 @@ class TagAction extends Action
         }
 
         if ($this->tag != $taginput) {
-            common_redirect(common_local_url('tag', array('tag' => $this->tag)));
+            common_redirect(common_local_url('tag', array('tag' => $this->tag)),
+                            301);
+            return false;
         }
 
         $this->page = ($this->arg('page')) ? ($this->arg('page')+0) : 1;