Skip to content

Commit

Permalink
fix announce clienterror update
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaomlove committed Mar 6, 2023
1 parent 8ede5f7 commit b83fbbc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions public/announce.php
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,7 @@
if($clicheck_res){
if ($az['showclienterror'] == 'no')
{
// sql_query("UPDATE users SET showclienterror = 'yes' WHERE id = ".sqlesc($userid));
$USERUPDATESET[] = "showclienterror = 'yes'";
sql_query("UPDATE users SET showclienterror = 'yes' WHERE id = ".sqlesc($userid));
$Cache->delete_value('user_passkey_'.$passkey.'_content');
}
err($clicheck_res);
Expand Down

0 comments on commit b83fbbc

Please sign in to comment.