diff options
-rw-r--r-- | actions/tagrss.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/actions/tagrss.php b/actions/tagrss.php index 9187bdc87..00e549281 100644 --- a/actions/tagrss.php +++ b/actions/tagrss.php @@ -27,6 +27,12 @@ class TagrssAction extends Rss10Action { function init() { $tag = $this->trimmed('tag'); + + if (!$tag) { + common_user_error(_('No tag.')); + return false; + } + $this->tag = Notice_tag::staticGet('tag', $tag); if (!$this->tag) { |