[Pkg-owncloud-commits] [owncloud] 02/32: coding style

David Prévot taffit at moszumanska.debian.org
Sun Dec 15 01:47:30 UTC 2013


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud.

commit afaac05f61d94826ed8df52a0f248b20c40c4190
Author: Arthur Schiwon <blizzz at owncloud.com>
Date:   Wed Dec 11 13:57:02 2013 +0100

    coding style
---
 lib/base.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/base.php b/lib/base.php
index b5d22ce..fb94117 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -527,7 +527,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',

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list