summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--actions/tagrss.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/tagrss.php b/actions/tagrss.php
index 00e549281..8a1461569 100644
--- a/actions/tagrss.php
+++ b/actions/tagrss.php
@@ -28,7 +28,7 @@ class TagrssAction extends Rss10Action {
function init() {
$tag = $this->trimmed('tag');
- if (!$tag) {
+ if (!isset($tag) || mb_strlen($tag) == 0) {
common_user_error(_('No tag.'));
return false;
}