Wallos: Open-source, self-hostable personal subscription tracker. Visualize your recurring expenses, manage your budget, and save money.
fix: error when logos folder is empty (#439)
Miguel Ribeiroe2e5061d1506
diff --git a/admin.php b/admin.phpindex 01ea806..c5fc31e 100644--- a/admin.php+++ b/admin.php@@ -232,6 +232,7 @@ $loginDisabledAllowed = $userCount == 1 && $settings['registrations_open'] == 0;$stmt = $db->prepare($query);$result = $stmt->execute();+ $logosOnDisk = [];$logosOnDB = [];while ($row = $result->fetchArray(SQLITE3_ASSOC)) {$logosOnDB[] = $row['logo'];diff --git a/includes/version.php b/includes/version.phpindex 3aa6dd4..02b8f8e 100644--- a/includes/version.php+++ b/includes/version.php@@ -1,3 +1,3 @@<?php-$version = "v2.16.0";+$version = "v2.16.1";?>\ No newline at end of file