diff options
author | Mario <mario@mariovavti.com> | 2021-10-15 08:15:41 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-10-15 08:15:41 +0000 |
commit | db18438db2a6f5aeb12da4a75aa7e772054f601b (patch) | |
tree | 191f55b499fe90c3ffd11602103c108e700d1333 /Zotlabs/Lib/Apps.php | |
parent | f885f986119c8aaafa1c8f7995adee9ee633ad33 (diff) | |
download | volse-hubzilla-db18438db2a6f5aeb12da4a75aa7e772054f601b.tar.gz volse-hubzilla-db18438db2a6f5aeb12da4a75aa7e772054f601b.tar.bz2 volse-hubzilla-db18438db2a6f5aeb12da4a75aa7e772054f601b.zip |
escape_tags only once
Diffstat (limited to 'Zotlabs/Lib/Apps.php')
-rw-r--r-- | Zotlabs/Lib/Apps.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Lib/Apps.php b/Zotlabs/Lib/Apps.php index 669dd6307..c4ddcff1b 100644 --- a/Zotlabs/Lib/Apps.php +++ b/Zotlabs/Lib/Apps.php @@ -1194,9 +1194,9 @@ class Apps { $y = explode(',',$arr['categories']); if($y) { foreach($y as $t) { - $t = trim($t); + $t = escape_tags(trim($t)); if($t) { - store_item_tag($darray['app_channel'],$x[0]['id'],TERM_OBJ_APP,TERM_CATEGORY,escape_tags($t),escape_tags(z_root() . '/apps/?f=&cat=' . escape_tags($t))); + store_item_tag($darray['app_channel'], $x[0]['id'], TERM_OBJ_APP, TERM_CATEGORY, $t, z_root() . '/apps/?f=&cat=' . $t); } } } |