commit | 60524339edadbcb3a980af42ee2abbac8746b7d4 | [log] [tgz] |
---|---|---|
author | Adrià Vilanova Martínez <me@avm99963.com> | Sun Nov 20 02:33:56 2022 +0100 |
committer | Adrià Vilanova Martínez <me@avm99963.com> | Sun Nov 20 02:33:56 2022 +0100 |
tree | d2237dd0140bc1e05d1d32ab5aecad487ad480a7 | |
parent | 71e9f8760431cfc2a49eb0d3fbf6d6da397916c4 [diff] [blame] |
Add docker container definition Change-Id: If32020e6b8e8bb816eb54533554b18cc5302b5c9
diff --git a/php/security.php b/php/security.php index 9842f3b..7f441ca 100644 --- a/php/security.php +++ b/php/security.php
@@ -30,7 +30,7 @@ $credentials = new Credentials(); - $query = $conn->prepare("SELECT id, password FROM ".$credentials->usersdb." WHERE id = ?"); + $query = $conn->prepare("SELECT id, password FROM ".$credentials->usersdb()." WHERE id = ?"); $query->bind_param("i", $id); $query->execute();