feat: frequency is now up to 366

feat: change filename of backup file
fix: translate: "no category"
fix: trim fixer api key
fix: add webp support to gd on the container
fix: update slovanian translations
This commit is contained in:
Miguel Ribeiro
2024-06-05 00:15:31 +02:00
committed by GitHub
parent 76186d45d5
commit fa99a735cd
7 changed files with 27 additions and 17 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
if (isset($_SESSION['loggedin']) && $_SESSION['loggedin'] === true) {
if ($_SERVER["REQUEST_METHOD"] === "POST") {
$newApiKey = isset($_POST["api_key"]) ? $_POST["api_key"] : "";
$newApiKey = isset($_POST["api_key"]) ? trim($_POST["api_key"]) : "";
$provider = isset($_POST["provider"]) ? $_POST["provider"] : 0;
$removeOldKey = "DELETE FROM fixer WHERE user_id = :userId";