Dropped quielmata coolumn
diff --git a/php/login.php b/php/login.php
index 286919f..2dd713e 100644
--- a/php/login.php
+++ b/php/login.php
@@ -36,9 +36,8 @@
$user->curs = $row[2];
$user->grau = $row[3];
$user->quimata = $row[4];
- $user->quielmata = $row[5];
- $user->requested = $row[6];
- $user->mort = $row[7];
+ $user->requested = $row[5];
+ $user->mort = $row[6];
}
$result->close();
} else {
diff --git a/php/request.php b/php/request.php
index 883d9b2..4b67dd6 100644
--- a/php/request.php
+++ b/php/request.php
@@ -20,6 +20,8 @@
}
if ($_GET['msg'] == 4) $query = "UPDATE users SET requested=0 WHERE id=".$_GET['id']; // deny request
+ $a = "UPDATE users SET quimata=".$_GET['id']
+
// Fetch the information of the user
if ($result = $conn->query($query)) echo $query;
else die("Wrong query: " . $query);