mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-17 21:26:22 -04:00
Stop throwing errors where it can't get the current message because there is no object.
This commit is contained in:
@@ -38,7 +38,7 @@ namespace NzbDrone.Web.Controllers
|
||||
{
|
||||
var notes = _notifications.ProgressNotifications;
|
||||
|
||||
if (_notifications.ProgressNotifications.Count != 0)
|
||||
if (_notifications.ProgressNotifications.Count > 0)
|
||||
return _notifications.ProgressNotifications[0].CurrentMessage;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user