Changeset 2957
- Timestamp:
- 08/21/08 04:04:23 (3 months ago)
- Files:
-
- branches/mt4.21/lib/MT/Template.pm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/mt4.21/lib/MT/Template.pm
r2882 r2957 662 662 sub pre_remove_children { 663 663 my $tmpl = shift; 664 $tmpl->remove_children({ key => 'template_id' }); 664 # global templates doesn't have child records 665 if ( $tmpl->blog_id ) { 666 $tmpl->remove_children({ key => 'template_id' }); 667 } 665 668 } 666 669
