From: <sy...@us...> - 2010-03-16 14:29:48
|
Revision: 26143 http://tikiwiki.svn.sourceforge.net/tikiwiki/?rev=26143&view=rev Author: sylvieg Date: 2010-03-16 14:29:42 +0000 (Tue, 16 Mar 2010) Log Message: ----------- [FIX]user: do not rest the lastLogin when you change the waiting status Modified Paths: -------------- branches/5.x/lib/userslib.php Modified: branches/5.x/lib/userslib.php =================================================================== --- branches/5.x/lib/userslib.php 2010-03-16 13:20:40 UTC (rev 26142) +++ branches/5.x/lib/userslib.php 2010-03-16 14:29:42 UTC (rev 26143) @@ -2365,8 +2365,8 @@ } function change_user_waiting($user, $who) { - $query = 'update `users_users` set `waiting`=?, `currentLogin`=?, `lastLogin`=? where `login`=?'; - $this->query($query, array($who, NULL, NULL, $user)); + $query = 'update `users_users` set `waiting`=?, `currentLogin`=? where `login`=?'; + $this->query($query, array($who, NULL, $user)); } function add_user($user, $pass, $email, $provpass = '', $pass_first_login = false, $valid = NULL, $openid_url = NULL, $waiting=NULL) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |