diff options
author | Evan Prodromou <git@evanprodromou.name> | 2009-01-10 14:57:37 -0500 |
---|---|---|
committer | Evan Prodromou <git@evanprodromou.name> | 2009-01-10 14:57:37 -0500 |
commit | a3b72d9e3be5177936c650603114f364b453318c (patch) | |
tree | c9ac75e4261a54e9ea4ba56995d73802ecc190dd | |
parent | 7c54239fc07ce441b79abee3fe227429225980d9 (diff) |
Better check on blank tag
-rw-r--r-- | actions/tagrss.php | 2 |
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; } |