Author: joes Date: Thu Mar 20 23:22:15 2014 New Revision: 1579818 URL: http://svn.apache.org/r1579818 Log: stack views
Modified: thrift/cms-site/trunk/lib/view.pm Modified: thrift/cms-site/trunk/lib/view.pm URL: http://svn.apache.org/viewvc/thrift/cms-site/trunk/lib/view.pm?rev=1579818&r1=1579817&r2=1579818&view=diff ============================================================================== --- thrift/cms-site/trunk/lib/view.pm (original) +++ thrift/cms-site/trunk/lib/view.pm Thu Mar 20 23:22:15 2014 @@ -9,6 +9,7 @@ use warnings; sub thrift_preprocessor { my %args = @_; + $args{view} = [@{$args{view}}] if ref $args{view}; my $file = "content$args{path}"; read_text_file $file, \%args;