Skip to content

Commit

Permalink
Fixed issue: options from mother template always used at import
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisGac committed Dec 11, 2017
1 parent 03260bd commit 99b558c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/models/TemplateConfiguration.php
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ public static function importManifest($sTemplateName, $aDatas = array())
$aDatas['version'] = $oMotherTemplate->template->version;
$aDatas['license'] = $oMotherTemplate->template->license;
$aDatas['files_folder'] = $oMotherTemplate->template->files_folder;
$aDatas['aOptions'] = json_decode($oMotherTemplate->options);
$aDatas['aOptions'] = (empty($aDatas['aOptions'])) ? json_decode($oMotherTemplate->options): $aDatas['aOptions'];
}
}

Expand Down

0 comments on commit 99b558c

Please sign in to comment.