Index: /branches/release-34/lib/MT/CMS/Template.pm
===================================================================
--- /branches/release-34/lib/MT/CMS/Template.pm (revision 1877)
+++ /branches/release-34/lib/MT/CMS/Template.pm (revision 1891)
@@ -248,7 +248,7 @@
         $param->{build_type} = $obj->build_type;
         $param->{ 'build_type_' . ( $obj->build_type || 0 ) } = 1;
-        my ( $period, $interval ) = _get_schedule( $obj->build_interval );
-        $param->{ 'schedule_period_' . $period } = 1;
-        $param->{schedule_interval} = $interval;
+        #my ( $period, $interval ) = _get_schedule( $obj->build_interval );
+        #$param->{ 'schedule_period_' . $period } = 1;
+        #$param->{schedule_interval} = $interval;
         $param->{type} = 'custom' if $param->{type} eq 'module';
     } else {
@@ -439,5 +439,5 @@
 
     $param->{screen_id} = "edit-template-" . $param->{type};
-    if (("custom" == $param->{type}) || ("custom" == $param->{type})) {
+    if (("custom" eq $param->{type}) || ("custom" eq $param->{type})) {
         $param->{screen_class} .= "edit-template-cache";
     }
