From 4a6a4540bc19e428f7e6c986891400fb997b6af8 Mon Sep 17 00:00:00 2001 From: Jakob Date: Sun, 8 Mar 2020 16:20:01 +0100 Subject: [PATCH] %REQUIRE_LOGIN% --- threadr/profile/edit.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/threadr/profile/edit.php b/threadr/profile/edit.php index dca17f2..1786633 100644 --- a/threadr/profile/edit.php +++ b/threadr/profile/edit.php @@ -1,10 +1,11 @@ prepare('SELECT name FROM users WHERE id = :user_id;'); // to be replaced with optional user name off the user data table $result = $statement->execute(array('user_id' => $_SESSION['user_id'])); $dbentry = $statement->fetch();