Refactor entry handling: update date format, enhance entry retrieval, and improve HTML structure
This commit is contained in:
1 parent
ff2afb4441
commit
fd1b8d9a0b
7 files changed
+15
-7
No files matched your search
@@ -9,5 +9,5 @@ $command = "SELECT name, value FROM settings WHERE name = :name";
|
||||
$result = $api->dbCommand($command, true, true, [":name" => "application_name"]);
|
||||
|
||||
$api->answer(200, [
|
||||
"application_name" => $result["value"]
|
||||
"application_name" => $result[0]["value"]
|
||||
]);
|
||||
Reference in new issue
Block a user