From 14837a1f7e5755a0ed844bb4b3855088b576fe54 Mon Sep 17 00:00:00 2001 From: Kekskurse Date: Tue, 9 Feb 2021 22:12:54 +0100 Subject: [PATCH] Stuff --- app/Console/Commands/ServerUpdateCache.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Console/Commands/ServerUpdateCache.php b/app/Console/Commands/ServerUpdateCache.php index 60c5aa3..73dd1b3 100644 --- a/app/Console/Commands/ServerUpdateCache.php +++ b/app/Console/Commands/ServerUpdateCache.php @@ -53,7 +53,7 @@ class ServerUpdateCache extends Command $res = DB::select($sql); foreach ($res as $re) { $this->info("Image: ".$re->id); - $theme = $themeList[$re->template]; + $theme = $themeList[$re->gallery_default_theme]; if(is_null($theme)) { $this->info("Error Theme not found: ".$re->template); exit();