Skip to content

Commit

Permalink
fix: error when logos folder is empty
Browse files Browse the repository at this point in the history
  • Loading branch information
ellite committed Jul 10, 2024
1 parent 3adfb20 commit cb445aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ class="one-third" value="<?= $settings['smtp_port'] ?>" />
$stmt = $db->prepare($query);
$result = $stmt->execute();

$logosOnDisk = [];
$logosOnDB = [];
while ($row = $result->fetchArray(SQLITE3_ASSOC)) {
$logosOnDB[] = $row['logo'];
Expand Down
2 changes: 1 addition & 1 deletion includes/version.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<?php
$version = "v2.16.0";
$version = "v2.16.1";
?>

0 comments on commit cb445aa

Please sign in to comment.