summaryrefslogtreecommitdiff
path: root/sapi/apache_hooks/mod_php5.c
diff options
context:
space:
mode:
authorSVN Migration <svn@php.net>2004-07-15 19:41:25 +0000
committerSVN Migration <svn@php.net>2004-07-15 19:41:25 +0000
commit5c83dc9adee4691690822a05b290d7d9a9c04c31 (patch)
tree4c22c901829598dfe7fa599c41c0b2cb569f4afa /sapi/apache_hooks/mod_php5.c
parent8091552925399dc7dbe4d5c47e1cc53f900bc670 (diff)
downloadphp-git-php-5.0.0RC4.tar.gz
This commit was manufactured by cvs2svn to create tag 'php_5_0_0RC4'.php-5.0.0RC4
Diffstat (limited to 'sapi/apache_hooks/mod_php5.c')
-rw-r--r--sapi/apache_hooks/mod_php5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/apache_hooks/mod_php5.c b/sapi/apache_hooks/mod_php5.c
index 516a465c2b..547aed7400 100644
--- a/sapi/apache_hooks/mod_php5.c
+++ b/sapi/apache_hooks/mod_php5.c
@@ -583,7 +583,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);