Add defaults() to term parameter in mod/filerm
- Addresses part of https://github.com/friendica/friendica/issues/6338#issuecomment-470681556
This commit is contained in:
parent
75d144aee7
commit
efdb6634a2
|
@ -12,7 +12,7 @@ function filerm_content(App $a)
|
||||||
exit();
|
exit();
|
||||||
}
|
}
|
||||||
|
|
||||||
$term = XML::unescape(trim($_GET['term']));
|
$term = XML::unescape(trim(defaults($_GET, 'term', '')));
|
||||||
$cat = XML::unescape(trim(defaults($_GET, 'cat', '')));
|
$cat = XML::unescape(trim(defaults($_GET, 'cat', '')));
|
||||||
|
|
||||||
$category = (($cat) ? true : false);
|
$category = (($cat) ? true : false);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user