forked from GNUsocial/gnu-social
Better check on blank tag
This commit is contained in:
parent
7c54239fc0
commit
a3b72d9e3b
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user