From 06156f3c3fcb1f3c6066bd8327dd1f847667c366 Mon Sep 17 00:00:00 2001
From: Andreas Gohr <andi@splitbrain.org>
Date: Wed, 14 Jan 2009 18:52:44 +0100
Subject: [PATCH] fixed corrupt if statement introduced by earlier patch

darcs-hash:20090114175244-7ad00-22fe37641598c13f13266bf0b50c3b93fe912344.gz
---
 inc/auth.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/inc/auth.php b/inc/auth.php
index 20f0407c0..25c0f87f9 100644
--- a/inc/auth.php
+++ b/inc/auth.php
@@ -62,7 +62,7 @@
       if (!$conf['rememberme']) $_REQUEST['r'] = false;
 
       // streamline HTTP auth credentials (IIS/rewrite -> mod_php)
-      isset($_SERVER['HTTP_AUTHORIZATION']){
+      if(isset($_SERVER['HTTP_AUTHORIZATION'])){
         list($_SERVER['PHP_AUTH_USER'],$_SERVER['PHP_AUTH_PW']) =
           explode(':', base64_decode(substr($_SERVER['HTTP_AUTHORIZATION'], 6)));
       }
-- 
GitLab