Index: /branches/release-35/lib/MT/CMS/Blog.pm
===================================================================
--- /branches/release-35/lib/MT/CMS/Blog.pm (revision 1957)
+++ /branches/release-35/lib/MT/CMS/Blog.pm (revision 1967)
@@ -1926,4 +1926,9 @@
           } );
         for my $tmpl (@templates) {
+            my $bt = $tmpl->build_type || 0;
+            next if $bt == MT::PublishOption::DISABLED();
+            next if $bt == MT::PublishOption::MANUALLY();
+            next if $bt == MT::PublishOption::SCHEDULED();
+
             $tmpl->build_type( $tmpl->type ne 'index' ? MT::PublishOption::DYNAMIC() : MT::PublishOption::ONDEMAND() );
             $tmpl->save();
@@ -1941,4 +1946,9 @@
         );
         for my $tmpl (@templates) {
+            my $bt = $tmpl->build_type || 0;
+            next if $bt == MT::PublishOption::DISABLED();
+            next if $bt == MT::PublishOption::MANUALLY();
+            next if $bt == MT::PublishOption::SCHEDULED();
+
             $tmpl->build_type( MT::PublishOption::DYNAMIC() );
             $tmpl->save();
