mirror of
https://github.com/friendica/friendica
synced 2024-11-10 02:22:55 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue