]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Better check on blank tag
authorEvan Prodromou <git@evanprodromou.name>
Sat, 10 Jan 2009 19:57:37 +0000 (14:57 -0500)
committerEvan Prodromou <git@evanprodromou.name>
Sat, 10 Jan 2009 19:57:37 +0000 (14:57 -0500)
actions/tagrss.php

index 00e549281b51a1ef978360bac9da42b5d15a3490..8a146156950aa129bc2b1dc6b536c8cb12c188a0 100644 (file)
@@ -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;
         }