aboutsummaryrefslogtreecommitdiff
path: root/app/Models
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2025-01-21 23:31:40 +0100
committerGravatar GitHub <noreply@github.com> 2025-01-21 23:31:40 +0100
commit825ccf55562154dc33fbff272384dc5877696208 (patch)
tree13afa5c7f5ee19fc29b8ab862d63bd2c9515bd9d /app/Models
parent3fda6f6bf5192c57e10b38f0ff27c915021e36cb (diff)
Hide base theme (#7234)
Diffstat (limited to 'app/Models')
-rw-r--r--app/Models/Themes.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Models/Themes.php b/app/Models/Themes.php
index cd66723bf..033bbe2a0 100644
--- a/app/Models/Themes.php
+++ b/app/Models/Themes.php
@@ -21,7 +21,7 @@ class FreshRSS_Themes extends Minz_Model {
$list = [];
foreach ($themes_list as $theme_dir) {
$theme = self::get_infos($theme_dir);
- if (is_array($theme)) {
+ if (is_array($theme) && trim($theme['name']) !== '') {
$list[$theme_dir] = $theme;
}
}