From be2912e26bdf1843c3a91fc0717b301f168d4962 Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Fri, 9 May 2025 18:15:54 +0500 Subject: feat: option to log user actions --- public/account/index.php | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'public/account/index.php') diff --git a/public/account/index.php b/public/account/index.php index 7bb19f5..48bfb8d 100644 --- a/public/account/index.php +++ b/public/account/index.php @@ -144,14 +144,16 @@ if ($_SERVER['REQUEST_METHOD'] == "POST") {
- prepare("SELECT hide_actions FROM user_preferences WHERE id = ?"); - $stmt->execute([$_SESSION["user_id"]]); - if (intval($stmt->fetch()[0]) == 1) { - echo 'checked'; - } - ?>> - + + prepare("SELECT hide_actions FROM user_preferences WHERE id = ?"); + $stmt->execute([$_SESSION["user_id"]]); + if (intval($stmt->fetch()[0]) == 1) { + echo 'checked'; + } + ?>> + +
-- cgit v1.2.3