FIX: fix template handler according to refactoring

This commit is contained in:
Michal Kváček
2017-02-10 02:24:38 +01:00
parent 3748d00c2f
commit 0778a1d30c
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -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!');