mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-25 07:25:22 -07:00
Fixed the exception in the newsletter job #3421
This commit is contained in:
parent
96f50fc8f9
commit
76144d3ee2
1 changed files with 2 additions and 2 deletions
|
@ -730,7 +730,7 @@ namespace Ombi.Schedule.Jobs.Ombi
|
|||
finalsb.Append("<br />");
|
||||
}
|
||||
|
||||
var summary = info.summary;
|
||||
var summary = info?.summary ?? string.Empty;
|
||||
if (summary.Length > 280)
|
||||
{
|
||||
summary = summary.Remove(280);
|
||||
|
@ -946,4 +946,4 @@ namespace Ombi.Schedule.Jobs.Ombi
|
|||
GC.SuppressFinalize(this);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue