This commit is contained in:
Kekskurse 2021-02-09 22:12:54 +01:00
parent 7b3ab02c85
commit 14837a1f7e

View file

@ -53,7 +53,7 @@ class ServerUpdateCache extends Command
$res = DB::select($sql); $res = DB::select($sql);
foreach ($res as $re) { foreach ($res as $re) {
$this->info("Image: ".$re->id); $this->info("Image: ".$re->id);
$theme = $themeList[$re->template]; $theme = $themeList[$re->gallery_default_theme];
if(is_null($theme)) { if(is_null($theme)) {
$this->info("Error Theme not found: ".$re->template); $this->info("Error Theme not found: ".$re->template);
exit(); exit();