Browse Source
Merge pull request #20719 from abpframework/issue-4329
Fix: Blog tag problem
pull/20725/head
Engincan VESKE
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
modules/blogging/src/Volo.Blogging.Application/Volo/Blogging/Posts/PostAppService.cs
|
|
@ -308,7 +308,7 @@ namespace Volo.Blogging.Posts |
|
|
|
|
|
|
|
|
foreach (var newTag in newTags) |
|
|
foreach (var newTag in newTags) |
|
|
{ |
|
|
{ |
|
|
var tag = tags.FirstOrDefault(t => t.Name == newTag); |
|
|
var tag = tags.FirstOrDefault(t => t.Name.Equals(newTag, StringComparison.OrdinalIgnoreCase)); |
|
|
|
|
|
|
|
|
if (tag == null) |
|
|
if (tag == null) |
|
|
{ |
|
|
{ |
|
|
|