Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

On preview, create tag objects for private tags too, bugid:104556

  • Loading branch information...
commit 09242c9019d18e71abb65643c1fe04ffabd14d01 1 parent d79822b
Shmuel Fomberg semuel authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  lib/MT/CMS/Entry.pm
2  lib/MT/CMS/Entry.pm
@@ -1108,9 +1108,9 @@ sub _build_entry_preview {
1108 1108 if (@tag_names) {
1109 1109 my @tags;
1110 1110 foreach my $tag_name (@tag_names) {
1111   - next if $tag_name =~ m/^@/;
1112 1111 my $tag = MT::Tag->new;
1113 1112 $tag->name($tag_name);
  1113 + $tag->is_private($tag_name =~ m/^@/ ? 1 : 0);
1114 1114 push @tags, $tag;
1115 1115 }
1116 1116 $entry->{__tags} = \@tag_names;

0 comments on commit 09242c9

Please sign in to comment.
Something went wrong with that request. Please try again.