notags calls
implement removeTags function
This commit is contained in:
parent
991f259ecb
commit
a0f65ca7a1
51 changed files with 274 additions and 232 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue