projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Wrong test order
[fa-stable.git]
/
includes
/
current_user.inc
diff --git
a/includes/current_user.inc
b/includes/current_user.inc
index 7f04eb778329e347b017f0523ad4d67f0eb2d68c..76d52f2f126f5228c4b74e6a1d2e406de14e4106 100644
(file)
--- a/
includes/current_user.inc
+++ b/
includes/current_user.inc
@@
-22,6
+22,7
@@
class current_user
var $loginname;
var $username;
var $name;
var $loginname;
var $username;
var $name;
+ var $email;
var $company; // user's company
var $pos;
var $access;
var $company; // user's company
var $pos;
var $access;
@@
-120,6
+121,7
@@
class current_user
$this->username = $this->loginname;
$this->prefs = new user_prefs($myrow);
$this->user = @$myrow["id"];
$this->username = $this->loginname;
$this->prefs = new user_prefs($myrow);
$this->user = @$myrow["id"];
+ $this->email = @$myrow["email"];
update_user_visitdate($this->username);
$this->logged = true;
$this->last_act = time();
update_user_visitdate($this->username);
$this->logged = true;
$this->last_act = time();