Skip to content

Commit

Permalink
Fixed usage of split without parathesis.
Browse files Browse the repository at this point in the history
  • Loading branch information
byrnereese authored and jayallen committed Dec 7, 2010
1 parent de753ac commit 8243aad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/MT/Template.pm
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ sub save_widgetset {
# build module list
my @inst;
if ( $ms && $ms =~ /;/ ) {
my @mods = split /;/, $ms;
my @mods = split(/;/, $ms);
for (@mods) {

# tmpl_id = column index . order in column ;
Expand All @@ -371,7 +371,7 @@ sub save_widgetset {
$obj->modulesets( join ',', @inst );
}
else {
@inst = split /,/, ( $obj->modulesets || '' );
@inst = split(/,/, ( $obj->modulesets || '' ));
}

my @widgets = MT::Template->load( {
Expand Down

0 comments on commit 8243aad

Please sign in to comment.