]> git.mxchange.org Git - friendica.git/blobdiff - include/auth.php
Also reverted these + added spaces for nicer appearance.
[friendica.git] / include / auth.php
index 5dc19d1dfc7eeb1ba0a1e5d7082701a54e6315aa..2ca9c3efb29e7937b326b40ee8e5d2665693cd57 100644 (file)
@@ -73,7 +73,7 @@ if (isset($_SESSION) && x($_SESSION,'authenticated') && (!x($_POST,'auth-params'
                        intval($_SESSION['uid'])
                );
 
-               if (!count($r)) {
+               if (!dbm::is_result($r)) {
                        nuke_session();
                        goaway(z_root());
                }