From 3f9161e9ec61fc55e38fe5cf03ac153479bd4664 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Fri, 23 Jul 2021 18:36:08 +0200 Subject: [PATCH] wait #4621 @0:10 --- app/Jobs/UpdateWS2ThemeTable.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Jobs/UpdateWS2ThemeTable.php b/app/Jobs/UpdateWS2ThemeTable.php index 8d951f696..e8deb26f5 100644 --- a/app/Jobs/UpdateWS2ThemeTable.php +++ b/app/Jobs/UpdateWS2ThemeTable.php @@ -66,7 +66,7 @@ class UpdateWS2ThemeTable implements ShouldQueue $this->_ignore = ['id', 'name', 'owner', 'created_at', 'deleted_at', 'updated_at', 'slug']; $data = []; - $t = DB::table('extranet_clean.ws3_theme'); + $t = DB::table('extranet_clean.ws3_themes'); if ($this->id === 'all') { foreach (FluidbookTheme::all() as $theme) { $data[] = $this->_handleTheme($theme); @@ -132,7 +132,7 @@ class UpdateWS2ThemeTable implements ShouldQueue } $settings[$k] = $v; } - return ['theme_id' => $theme->id, 'signature' => 0, 'nom' => $theme->name, 'proprietaire' => $theme->owner, 'icones' => $theme->iconSet, 'date' => strtotime($theme->creation_date), 'parametres' => json_encode($settings)]; + return ['theme_id' => $theme->id,'nom' => $theme->name, 'proprietaire' => $theme->owner, 'icones' => $theme->iconSet, 'date' => strtotime($theme->creation_date), 'parametres' => json_encode($settings)]; } public static function colorAlphaToWS2($data) -- 2.39.5