diff options
author | SVN Migration <svn@php.net> | 2004-07-15 19:41:24 +0000 |
---|---|---|
committer | SVN Migration <svn@php.net> | 2004-07-15 19:41:24 +0000 |
commit | 2c1949d4e7fb4248c2a6b95b45094951c3607c8d (patch) | |
tree | c7de4f1a2b41f8bb9becab1b08ada0de6b6f75ba /sapi/apache | |
parent | 8091552925399dc7dbe4d5c47e1cc53f900bc670 (diff) | |
download | php-git-php-5.0.0.tar.gz |
This commit was manufactured by cvs2svn to create tag 'php_5_0_0'.php-5.0.0
Diffstat (limited to 'sapi/apache')
-rw-r--r-- | sapi/apache/mod_php5.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |