]> git.mxchange.org Git - friendica.git/blobdiff - mod/webfinger.php
Replace x() by isset(), !empty() or defaults()
[friendica.git] / mod / webfinger.php
index 4f23db6d8f300bd8e42732cee9df1cc44594a261..01743f05b0660e8577de7495a999d31419ffeb05 100644 (file)
@@ -28,7 +28,7 @@ function webfinger_content(App $a)
 
        $o .= '<br /><br />';
 
-       if (x($_GET, 'addr')) {
+       if (!empty($_GET['addr'])) {
                $addr = trim($_GET['addr']);
                $res = Probe::lrdd($addr);
                $o .= '<pre>';