Revision 1066
Added by Matthias over 16 years ago
| trunk/CHANGELOG | ||
|---|---|---|
| 11 | 11 |
! = Update/Change |
| 12 | 12 |
|
| 13 | 13 |
------------------------------------- 2.8.0 ------------------------------------- |
| 14 |
15-July 2009 Matthias Gallas |
|
| 15 |
! changed in class_login.php mktime() to time() |
|
| 14 | 16 |
14-July 2009 Matthias Gallas |
| 15 | 17 |
# Fixed bug with sections are only editable in new backend-themes if blocks are enabled |
| 16 | 18 |
(Thanks to Luisehahne) |
| trunk/wb/framework/class.login.php | ||
|---|---|---|
| 258 | 258 |
} |
| 259 | 259 |
|
| 260 | 260 |
// Update the users table with current ip and timestamp |
| 261 |
$get_ts = mktime();
|
|
| 261 |
$get_ts = time(); |
|
| 262 | 262 |
$get_ip = $_SERVER['REMOTE_ADDR']; |
| 263 | 263 |
$query = "UPDATE ".$this->USERS_TABLE." SET login_when = '$get_ts', login_ip = '$get_ip' WHERE user_id = '$user_id'"; |
| 264 | 264 |
$database->query($query); |
Also available in: Unified diff
changed in class_login.php mktime() to time()