https://reisub.nsupdate.info/git
/
friendica.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75d144a
)
Add defaults() to term parameter in mod/filerm
author
Hypolite Petovan
<hypolite@mrpetovan.com>
Sat, 9 Mar 2019 02:51:23 +0000
(21:51 -0500)
committer
Hypolite Petovan
<hypolite@mrpetovan.com>
Sat, 9 Mar 2019 02:51:23 +0000
(21:51 -0500)
- Addresses part of https://github.com/friendica/friendica/issues/6338#issuecomment-
470681556
mod/filerm.php
patch
|
blob
|
history
diff --git
a/mod/filerm.php
b/mod/filerm.php
index
b1f9f8d
..
9013dd6
100644
(file)
--- a/
mod/filerm.php
+++ b/
mod/filerm.php
@@
-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);