aboutsummaryrefslogtreecommitdiff
path: root/user/update.php
diff options
context:
space:
mode:
Diffstat (limited to 'user/update.php')
-rw-r--r--user/update.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/user/update.php b/user/update.php
index 1fe291a..b3a21f8 100644
--- a/user/update.php
+++ b/user/update.php
@@ -4,8 +4,6 @@ require_once(TEMPLATES_PATH . "/header.php");
require_once(TEMPLATES_PATH . "/panel.php");
require_once(LIBRARY_PATH . "/functions.php");
-print_r($_POST);
-
if (isset($_SESSION['user_id']) && $_SESSION['user_id'] != "") {
$conn = new PDO($config['db']['dsn'], $config['db']['username'], $config['db']['password']);
$query = $conn->prepare("UPDATE users SET username=:username, email=:email WHERE id={$_SESSION['user_id']}");