Rename removeTags to escapeTags
rename function and update calls.
This commit is contained in:
parent
063f0e9cb0
commit
218f0734be
51 changed files with 233 additions and 240 deletions
|
|
@ -21,7 +21,7 @@ function tagger_content(App $a) {
|
|||
return;
|
||||
}
|
||||
|
||||
$term = Strings::removeTags(trim($_GET['term']));
|
||||
$term = Strings::escapeTags(trim($_GET['term']));
|
||||
// no commas allowed
|
||||
$term = str_replace([',',' '],['','_'],$term);
|
||||
|
||||
|
|
@ -29,7 +29,7 @@ function tagger_content(App $a) {
|
|||
return;
|
||||
}
|
||||
|
||||
$item_id = (($a->argc > 1) ? Strings::removeTags(trim($a->argv[1])) : 0);
|
||||
$item_id = (($a->argc > 1) ? Strings::escapeTags(trim($a->argv[1])) : 0);
|
||||
|
||||
Logger::log('tagger: tag ' . $term . ' item ' . $item_id);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue