moderation bug fix

This commit is contained in:
Hamid Reza Mohammadi 2025-12-12 15:18:40 +03:30
parent cde3ba4e3a
commit 523125a1a2

View File

@ -476,7 +476,7 @@ namespace RMuseum.Services.Implementation
dbCorrection.AffectedThePoem = true;
var secondMetreSection = sections.FirstOrDefault(s => s.SectionType == PoemSectionType.WholePoem && s.VerseType == VersePoemSectionType.Second);
dbCorrection.OriginalRhythm2 = secondMetreSection.GanjoorMetre == null ? null : secondMetreSection.GanjoorMetre.Rhythm;
dbCorrection.OriginalRhythm2 = secondMetreSection == null ? null : secondMetreSection.GanjoorMetre == null ? null : secondMetreSection.GanjoorMetre.Rhythm;
if (moderation.Rhythm2 == "")
{