Stop throwing errors where it can't get the current message because there is no object.

pull/3113/head
Mark McDowall 13 years ago
parent 6756eb6534
commit c2c62aa538

@ -38,7 +38,7 @@ namespace NzbDrone.Web.Controllers
{ {
var notes = _notifications.ProgressNotifications; var notes = _notifications.ProgressNotifications;
if (_notifications.ProgressNotifications.Count != 0) if (_notifications.ProgressNotifications.Count > 0)
return _notifications.ProgressNotifications[0].CurrentMessage; return _notifications.ProgressNotifications[0].CurrentMessage;

Loading…
Cancel
Save