]> git.mxchange.org Git - friendica.git/blobdiff - include/auth.php
Merge remote-tracking branch 'upstream/develop' into 1706-ostatus-attach
[friendica.git] / include / auth.php
index 5dfe9d3e062aa7865ab5a9f8db87412d438b986f..d301f870556d5f79094bf5f7fdab06d1c34d6c89 100644 (file)
@@ -29,7 +29,7 @@ if (isset($_COOKIE["Friendica"])) {
                        new_cookie($authcookiedays*24*60*60, $r[0]);
 
                        // Do the authentification if not done by now
-                       if (!isset($_SESSION) OR !isset($_SESSION['authenticated'])) {
+                       if (!isset($_SESSION) || !isset($_SESSION['authenticated'])) {
                                authenticate_success($r[0]);
 
                                if (get_config('system','paranoia'))