From 523125a1a214ef5f99e384455a8b036548736a9a Mon Sep 17 00:00:00 2001 From: Hamid Reza Mohammadi Date: Fri, 12 Dec 2025 15:18:40 +0330 Subject: [PATCH] moderation bug fix --- .../GanjoorService-ModeratePoemCorrection.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RMuseum/Services/Implementation/GanjoorService-Partials/GanjoorService-ModeratePoemCorrection.cs b/RMuseum/Services/Implementation/GanjoorService-Partials/GanjoorService-ModeratePoemCorrection.cs index 87169cb8..36db484e 100644 --- a/RMuseum/Services/Implementation/GanjoorService-Partials/GanjoorService-ModeratePoemCorrection.cs +++ b/RMuseum/Services/Implementation/GanjoorService-Partials/GanjoorService-ModeratePoemCorrection.cs @@ -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 == "") {