summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
Diffstat (limited to 'actions')
-rw-r--r--actions/tagrss.php6
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) {