]> source.dussan.org Git - nextcloud-server.git/commitdiff
coding style
authorArthur Schiwon <blizzz@owncloud.com>
Wed, 11 Dec 2013 12:57:02 +0000 (13:57 +0100)
committerArthur Schiwon <blizzz@owncloud.com>
Fri, 13 Dec 2013 15:58:09 +0000 (16:58 +0100)
lib/base.php

index 473be9da4b325cec63ad24562004170ac3c9ce71..c2a07e4788921b8b81e90fd5ba84407dbd3b7165 100644 (file)
@@ -528,7 +528,7 @@ class OC {
                OC_User::useBackend(new OC_User_Database());
                OC_Group::useBackend(new OC_Group_Database());
                if (isset($_SERVER['PHP_AUTH_USER']) && self::$session->exists('user_id')
-                       && $_SERVER['PHP_AUTH_USER'] != self::$session->get('loginname')) {
+                       && $_SERVER['PHP_AUTH_USER'] !== self::$session->get('loginname')) {
                        $sessionUser = self::$session->get('loginname');
                        $serverUser = $_SERVER['PHP_AUTH_USER'];
                        OC_Log::write('core',