mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 18:48:21 -07:00
Fixed sql. Remove limit from update.
This commit is contained in:
parent
d78be79c7b
commit
3cf76c97f9
20 changed files with 31 additions and 31 deletions
|
@ -104,7 +104,7 @@ switch ($mode) {
|
|||
}
|
||||
if ($tz != $bb_cfg['board_timezone']) {
|
||||
// Set current user timezone
|
||||
DB()->query("UPDATE " . BB_USERS . " SET user_timezone = $tz WHERE user_id = " . $userdata['user_id'] . " LIMIT 1");
|
||||
DB()->query("UPDATE " . BB_USERS . " SET user_timezone = $tz WHERE user_id = " . $userdata['user_id']);
|
||||
$bb_cfg['board_timezone'] = $tz;
|
||||
cache_rm_user_sessions($userdata['user_id']);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue