Skip to content

Commit

Permalink
Merge branch 'dev' of https://github.com/microweber/microweber into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
bobimicroweber committed Mar 14, 2022
2 parents fb48f9d + 3a5c574 commit 46e100a
Showing 1 changed file with 2 additions and 3 deletions.
Expand Up @@ -51,10 +51,9 @@ public function change(Request $request)
// Dont write on database, import only media
if ($importType == 'only_media') {
$installTemplate->setWriteOnDatabase(false);

// But save current template option
save_option('current_template', $template,'template');
}
// But save current template option
save_option('current_template', $template,'template');

$importLog['done'] = true;
$importLog['log'] = $installTemplate->start();
Expand Down

0 comments on commit 46e100a

Please sign in to comment.