mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -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
|
@ -650,7 +650,7 @@ if ($submit && !$errors) {
|
|||
|
||||
$sql_args = DB()->build_array('UPDATE', $db_data);
|
||||
|
||||
DB()->query("UPDATE " . BB_USERS . " SET $sql_args WHERE user_id = {$pr_data['user_id']} LIMIT 1");
|
||||
DB()->query("UPDATE " . BB_USERS . " SET $sql_args WHERE user_id = {$pr_data['user_id']}");
|
||||
|
||||
if ($pr_data['user_id'] != $userdata['user_id']) {
|
||||
if ($pr_data['user_level'] == MOD && !empty($db_data['username'])) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue