1
0
Fork 0

notags calls

implement removeTags function
This commit is contained in:
Adam Magness 2018-11-08 10:14:37 -05:00
commit a0f65ca7a1
51 changed files with 274 additions and 232 deletions

View file

@ -15,6 +15,7 @@ use Friendica\Database\DBA;
use Friendica\Model\Contact;
use Friendica\Model\Profile;
use Friendica\Util\Proxy as ProxyUtils;
use Friendica\Util\Strings;
function directory_init(App $a)
{
@ -47,9 +48,9 @@ function directory_content(App $a)
Nav::setSelected('directory');
if (x($a->data, 'search')) {
$search = notags(trim($a->data['search']));
$search = Strings::removeTags(trim($a->data['search']));
} else {
$search = ((x($_GET, 'search')) ? notags(trim(rawurldecode($_GET['search']))) : '');
$search = ((x($_GET, 'search')) ? Strings::removeTags(trim(rawurldecode($_GET['search']))) : '');
}
$gdirpath = '';