aboutsummaryrefslogtreecommitdiff
path: root/app/FreshRSS.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/FreshRSS.php')
-rw-r--r--app/FreshRSS.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/FreshRSS.php b/app/FreshRSS.php
index ff766ad47..06557dbe1 100644
--- a/app/FreshRSS.php
+++ b/app/FreshRSS.php
@@ -111,7 +111,7 @@ class FreshRSS extends Minz_FrontController {
return;
}
$theme = FreshRSS_Themes::load(FreshRSS_Context::userConf()->theme);
- if ($theme) {
+ if (is_array($theme)) {
foreach (array_reverse($theme['files']) as $file) {
switch (substr($file, -3)) {
case '.js':