Skip to content

Commit

Permalink
fix: error when logos folder is empty (#439)
Browse files Browse the repository at this point in the history
  • Loading branch information
ellite authored Jul 10, 2024
1 parent 3adfb20 commit e2e5061
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 e2e5061

Please sign in to comment.