mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 18:48:21 -07:00
Minor improvements (#1125)
* Minor improvements * Updated * Updated * Updated * Update viewtopic.php * Update viewtopic.php * Update viewtopic.php * Update CHANGELOG.md
This commit is contained in:
parent
3a7d7bd097
commit
9ebe3a4d5c
17 changed files with 58 additions and 59 deletions
|
@ -30,7 +30,7 @@ foreach ($bf['user_opt'] as $opt_name => $opt_bit) {
|
|||
}
|
||||
}
|
||||
|
||||
DB()->query("UPDATE " . BB_USERS . " SET user_opt = {$u_data['user_opt']} WHERE user_id = $user_id");
|
||||
DB()->query("UPDATE " . BB_USERS . " SET user_opt = {$u_data['user_opt']} WHERE user_id = $user_id LIMIT 1");
|
||||
|
||||
// Удаляем данные из кеша
|
||||
\TorrentPier\Sessions::cache_rm_user_sessions($user_id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue