]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/frio/theme.php
Replace x() by isset(), !empty() or defaults()
[friendica.git] / view / theme / frio / theme.php
index aa59081d91969cad9eebec4e9541466c78ef8486..a61810f99e4196b9387ab5be4c9852d8a866ea43 100644 (file)
@@ -301,7 +301,7 @@ function frio_remote_nav($a, &$nav)
  */
 function frio_acl_lookup(App $a, &$results)
 {
-       $nets = x($_GET, 'nets') ? Strings::escapeTags(trim($_GET['nets'])) : '';
+       $nets = !empty($_GET['nets']) ? Strings::escapeTags(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