notags calls
implement removeTags function
This commit is contained in:
@@ -20,6 +20,7 @@ use Friendica\Core\System;
|
||||
use Friendica\Database\DBA;
|
||||
use Friendica\Model;
|
||||
use Friendica\Module;
|
||||
use Friendica\Util\Strings;
|
||||
|
||||
$frio = 'view/theme/frio';
|
||||
|
||||
@@ -300,7 +301,7 @@ function frio_remote_nav($a, &$nav)
|
||||
*/
|
||||
function frio_acl_lookup(App $a, &$results)
|
||||
{
|
||||
$nets = x($_GET, 'nets') ? notags(trim($_GET['nets'])) : '';
|
||||
$nets = x($_GET, 'nets') ? Strings::removeTags(trim($_GET['nets'])) : '';
|
||||
|
||||
// we introduce a new search type, r should do the same query like it's
|
||||
// done in /src/Module/Contact.php for connections
|
||||
|
||||
Reference in New Issue
Block a user