Skip to content

Commit

Permalink
Fix wrapper class bug
Browse files Browse the repository at this point in the history
The class for the wrapper section is stored in $types['wrapper_class'], not $types['class']
  • Loading branch information
oyejorge committed Jul 15, 2015
1 parent 846f923 commit 73d1a69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/admin/admin_menu_new.php
Expand Up @@ -1959,7 +1959,7 @@ function CreateNew(){
//wrapper section
$section = gp_edit::DefaultContent('wrapper_section');
$section['contains_sections'] = count($types['types']);
$section['attributes']['class'] = $types['class'];
$section['attributes']['class'] = $types['wrapper_class'];
$content[] = $section;


Expand Down

0 comments on commit 73d1a69

Please sign in to comment.