com web/bugs: WS: include/functions.php
| From: | Kalle Sommer Nielsen | Date: | Sat, 15 Dec 2018 21:22:54 +0000 |
| Subject: | com web/bugs: WS: include/functions.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-27583@lists.php.net to get a copy of this message | ||
Commit: 8d01322dbf8300cd74e0b654b9a54f641359cdb4
Author: Kalle Sommer Nielsen <kalle@php.net> Sat, 15 Dec 2018 22:22:54 +0100
Parents: 3c4fa66c4cae0d09c4cbecc305e99de217ecae49
Branches: master
Link: http://git.php.net/?p=web/bugs.git;a=commitdiff;h=8d01322dbf8300cd74e0b654b9a54f641359cdb4
Log:
WS
Changed paths:
M include/functions.php
Diff:
diff --git a/include/functions.php b/include/functions.php
index 04ec1bb..a45cda0 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -91,7 +91,7 @@ function verify_user_password($user, $pass)
return false;
}
- $_SESSION["user"] = $user;
+ $_SESSION["user"] = $user;
return true;
}
@@ -148,7 +148,7 @@ function bugs_authenticate (&$user, &$pw, &$logged_in,
&$user_flags)
} elseif (isset($auth_user) && is_object($auth_user) && $auth_user->handle) {
$user = $auth_user->handle;
$pw = $auth_user->password;
- }
+ }
// Authentication and user level check
// User levels are: reader (0), commenter/patcher/etc. (edit = 3), submitter (edit = 2), developer
(edit = 1)