~ubuntu-branches/debian/squeeze/movabletype-opensource/squeeze

« back to all changes in this revision

Viewing changes to lib/MT/Blog.pm

  • Committer: Bazaar Package Importer
  • Author(s): Dominic Hargreaves
  • Date: 2008-12-11 20:00:05 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20081211200005-989csado6g2peqwf
Tags: 4.2.3-1
* Urgency medium due to security fixes
* New upstream release: contains XSS security fixes and minor bugfixes

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
# This program is distributed under the terms of the
3
3
# GNU General Public License, version 2.
4
4
#
5
 
# $Id: Blog.pm 2606 2008-06-19 05:52:32Z takayama $
 
5
# $Id: Blog.pm 3006 2008-09-01 02:24:56Z fumiakiy $
6
6
 
7
7
package MT::Blog;
8
8
 
869
869
            { blog_id => $old_blog_id, type => 'widgetset' }
870
870
        );
871
871
        while (my $tmpl = $iter->()) {
872
 
            $tmpl_processor->($new_blog_id, \$counter, $tmpl, \%tmpl_map);
873
872
            my @old_widgets = split /,/, $tmpl->modulesets;
 
873
            $tmpl_processor->($new_blog_id, \$counter, $tmpl, \%tmpl_map);
874
874
            my @new_widgets;
875
875
            push @new_widgets, $tmpl_map{$_}
876
876
                foreach @old_widgets;