Skip to content

Commit

Permalink
Update edit.php
Browse files Browse the repository at this point in the history
  • Loading branch information
lcherone authored Mar 12, 2018
1 parent 504970b commit 6ed54cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/module/cms/view/admin/template/edit.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@
json_decode($server->config, true),
$server->encrypted // enable encryption [default: true]
);
$files = $tasks->files(getcwd().'/tmp/template/'.(int) $f3->get('PARAMS.sub_action_id'));
$files = json_encode((array) $tasks->files(getcwd().'/tmp/template/'.(int) $f3->get('PARAMS.sub_action_id')));
} catch (\Exception $e) {
$files = '{}';
}
Expand Down

0 comments on commit 6ed54cf

Please sign in to comment.