From: Evan Prodromou Date: Sat, 10 Jan 2009 19:57:37 +0000 (-0500) Subject: Better check on blank tag X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a3b72d9e3be5177936c650603114f364b453318c;p=quix0rs-gnu-social.git Better check on blank tag --- 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; }