]> git.mxchange.org Git - friendica.git/blobdiff - mod/openid.php
Catch HTTPExceptions in App::runFrontend()
[friendica.git] / mod / openid.php
index 209960ee58b44968bd0c65d010e3824631f41856..4e247b384fe254f26869a5f54354a0536f9104c9 100644 (file)
@@ -20,7 +20,7 @@ function openid_content(App $a) {
 
        Logger::log('mod_openid ' . print_r($_REQUEST,true), Logger::DATA);
 
-       if((x($_GET,'openid_mode')) && (x($_SESSION,'openid'))) {
+       if(!empty($_GET['openid_mode']) && !empty($_SESSION['openid'])) {
 
                $openid = new LightOpenID($a->getHostName());