From fa04d1e9eb58e347366e6fd4cbde157dfc08d70c Mon Sep 17 00:00:00 2001 From: xiaomlove Date: Fri, 16 Jun 2023 02:07:18 +0800 Subject: [PATCH] fix stdfoot update users --- include/constants.php | 2 +- include/functions.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/constants.php b/include/constants.php index 6eaa4182..eade72e8 100644 --- a/include/constants.php +++ b/include/constants.php @@ -1,6 +1,6 @@ ".$footerad[0].""; } print("
"); - if ($CURUSER){ + if ($CURUSER && count($USERUPDATESET)){ sql_query("UPDATE users SET " . join(",", $USERUPDATESET) . " WHERE id = ".$CURUSER['id']); } // Variables for End Time