mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-13 16:43:58 -07:00
Stop throwing errors where it can't get the current message because there is no object.
This commit is contained in:
parent
6756eb6534
commit
c2c62aa538
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue