fix stdfoot update users

This commit is contained in:
xiaomlove
2023-06-16 02:07:18 +08:00
parent 8dfc125a37
commit fa04d1e9eb
2 changed files with 2 additions and 2 deletions

View File

@@ -2918,7 +2918,7 @@ function stdfoot() {
echo "<div align=\"center\" style=\"margin-top: 10px\" id=\"\">".$footerad[0]."</div>";
}
print("<div style=\"margin-top: 10px; margin-bottom: 30px;\" align=\"center\">");
if ($CURUSER){
if ($CURUSER && count($USERUPDATESET)){
sql_query("UPDATE users SET " . join(",", $USERUPDATESET) . " WHERE id = ".$CURUSER['id']);
}
// Variables for End Time