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
+2 -5
View File
@@ -49,11 +49,8 @@
}
$frequencies = array();
$query = "SELECT * FROM frequencies";
$result = $db->query($query);
while ($row = $result->fetchArray(SQLITE3_ASSOC)) {
$frequencyId = $row['id'];
$frequencies[$frequencyId] = $row;
for ($i = 1; $i <= 366; $i++) {
$frequencies[$i] = array('id' => $i, 'name' => $i);
}
?>