From a3b72d9e3be5177936c650603114f364b453318c Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Sat, 10 Jan 2009 14:57:37 -0500 Subject: [PATCH] Better check on blank tag --- actions/tagrss.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actions/tagrss.php b/actions/tagrss.php index 00e549281b..8a14615695 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; } -- 2.39.5