1
0
Fork 0

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:
Hypolite Petovan 2019-03-08 21:51:23 -05:00
parent 75d144aee7
commit efdb6634a2

View file

@ -12,7 +12,7 @@ function filerm_content(App $a)
exit();
}
$term = XML::unescape(trim($_GET['term']));
$term = XML::unescape(trim(defaults($_GET, 'term', '')));
$cat = XML::unescape(trim(defaults($_GET, 'cat', '')));
$category = (($cat) ? true : false);