summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <git@evanprodromou.name>2009-01-10 14:57:37 -0500
committerEvan Prodromou <git@evanprodromou.name>2009-01-10 14:57:37 -0500
commita3b72d9e3be5177936c650603114f364b453318c (patch)
treec9ac75e4261a54e9ea4ba56995d73802ecc190dd
parent7c54239fc07ce441b79abee3fe227429225980d9 (diff)
Better check on blank tag
-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;
}