From 0778a1d30cf7d84a456145eea7ae2d6f156c9886 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Kv=C3=A1=C4=8Dek?= Date: Fri, 10 Feb 2017 02:24:38 +0100 Subject: [PATCH] FIX: fix template handler according to refactoring --- app/Console/Commands/SetTemplate.php | 2 +- templates/Binarity/Handler.php | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/Console/Commands/SetTemplate.php b/app/Console/Commands/SetTemplate.php index f158b46d..462d5127 100644 --- a/app/Console/Commands/SetTemplate.php +++ b/app/Console/Commands/SetTemplate.php @@ -42,7 +42,7 @@ class SetTemplate extends Command $config['staticName'] = $template; if ($current) { - $info = json_decode($current->moduleSettings); + $info = json_decode($current->module_settings); $this->line('Template is already installed. Currently using template ' . trans($current->name) . ' located in /templates/' . $info->staticName . '.'); $confirm = $this->confirm('Uninstall it and install *' . trans($config['name']) . '*? All data associated with installed template will be lost!'); diff --git a/templates/Binarity/Handler.php b/templates/Binarity/Handler.php index f0e6df10..190e2350 100644 --- a/templates/Binarity/Handler.php +++ b/templates/Binarity/Handler.php @@ -1,12 +1,12 @@