Skip to content

Commit

Permalink
Merge pull request #1266 from movabletype/fix/mtc-25376_mt65
Browse files Browse the repository at this point in the history
[MT6.5] Prevent using selected primary category in preview an entry. MTC-25376
  • Loading branch information
comewalk committed Mar 30, 2020
2 parents d232a68 + 67b3897 commit dee25e4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/MT/CMS/Entry.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1238,7 +1238,6 @@ sub _build_entry_preview {
my $ctx = $tmpl->context;
$ctx->stash( 'entry', $entry );
$ctx->stash( 'blog', $blog );
$ctx->stash( 'category', $cat ) if $cat;
$ctx->{current_timestamp} = $ao_ts;
$ctx->{current_archive_type} = $at;
$ctx->var( 'preview_template', 1 );
Expand Down

0 comments on commit dee25e4

Please sign in to comment.