From 825ccf55562154dc33fbff272384dc5877696208 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Tue, 21 Jan 2025 23:31:40 +0100 Subject: Hide base theme (#7234) --- app/Models/Themes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Models') 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; } } -- cgit v1.2.3