From 8243aad002201d2d409085ec6c2fd0e535669b0f Mon Sep 17 00:00:00 2001 From: Byrne Date: Sun, 5 Dec 2010 00:10:51 -0800 Subject: [PATCH] Fixed usage of split without parathesis. --- lib/MT/Template.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/MT/Template.pm b/lib/MT/Template.pm index 326567d78..c1dc630a4 100644 --- a/lib/MT/Template.pm +++ b/lib/MT/Template.pm @@ -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 ; @@ -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( {