From 2c1949d4e7fb4248c2a6b95b45094951c3607c8d Mon Sep 17 00:00:00 2001 From: SVN Migration Date: Thu, 15 Jul 2004 19:41:24 +0000 Subject: This commit was manufactured by cvs2svn to create tag 'php_5_0_0'. --- sapi/apache/mod_php5.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sapi/apache') diff --git a/sapi/apache/mod_php5.c b/sapi/apache/mod_php5.c index 4aac2d2862..d477a141a7 100644 --- a/sapi/apache/mod_php5.c +++ b/sapi/apache/mod_php5.c @@ -485,7 +485,7 @@ static void init_request_info(TSRMLS_D) tmp = uudecode(r->pool, authorization); SG(request_info).auth_user = NULL; tmp_user = getword_nulls_nc(r->pool, &tmp, ':'); - if (tmp_user) { + if (SG(request_info).auth_user) { r->connection->user = pstrdup(r->connection->pool, tmp_user); r->connection->ap_auth_type = "Basic"; SG(request_info).auth_user = estrdup(tmp_user); -- cgit v1.2.1