cvs: pearweb /include pear-auth.php
| From: | Thomas V.V.Cox | Date: | Wed, 05 Sep 2001 01:07:50 +0000 |
| Subject: | cvs: pearweb /include pear-auth.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-793@lists.php.net to get a copy of this message | ||
cox Tue Sep 4 21:07:50 2001 EDT
Modified files:
/pearweb/include pear-auth.php
Log:
fix obscure bug in the $auth_user var to not be globally avaible
Index: pearweb/include/pear-auth.php
diff -u pearweb/include/pear-auth.php:1.9 pearweb/include/pear-auth.php:1.10
--- pearweb/include/pear-auth.php:1.9 Sat Sep 1 19:03:21 2001
+++ pearweb/include/pear-auth.php Tue Sep 4 21:07:50 2001
@@ -23,7 +23,7 @@
global $auth_user;
$user = $PHP_AUTH_USER;
- $auth_user =& new PEAR_User($dbh, $user);
+ $auth_user = new PEAR_User($dbh, $user);
$ok = false;
switch (strlen(@$auth_user->password)) {
// handle old-style DES-encrypted passwords