Skip to content

Commit

Permalink
IOMAD: Update company_edit_form.php to allow for iomadboost as a vali…
Browse files Browse the repository at this point in the history
…d iomad parent theme to show company appearence options. closes #1231
  • Loading branch information
turf212 committed Dec 8, 2019
1 parent bbb54f4 commit 92b1e48
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -338,8 +338,9 @@ public function definition() {
$ischild = false;
try {
$theme = \theme_config::load($companytheme);
$iomadthemes = array('iomad', 'iomadboost', 'iomadbootstrap');
foreach ($theme->parents as $parentstheme) {
if($parentstheme == 'iomad' || $parentstheme == 'bootstrap' ){
if (in_array($parentstheme, $iomadthemes)){
$ischild = true;
break;
}
Expand Down

0 comments on commit 92b1e48

Please sign in to comment.