diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-04-05 11:02:50 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-04-05 11:02:50 -0400 |
| commit | e4001ec92b4a7867c713331718af55136d6a164d (patch) | |
| tree | 078fc2bc0bd942fa87ff9c5440413f2dad38f067 /MediaBrowser.Server.Implementations/Library/LibraryManager.cs | |
| parent | 161e1af0eaa69e828f64d33311e3bc462852d6c4 (diff) | |
add latest translations
Diffstat (limited to 'MediaBrowser.Server.Implementations/Library/LibraryManager.cs')
| -rw-r--r-- | MediaBrowser.Server.Implementations/Library/LibraryManager.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MediaBrowser.Server.Implementations/Library/LibraryManager.cs b/MediaBrowser.Server.Implementations/Library/LibraryManager.cs index 817e14d4d..d98400527 100644 --- a/MediaBrowser.Server.Implementations/Library/LibraryManager.cs +++ b/MediaBrowser.Server.Implementations/Library/LibraryManager.cs @@ -785,12 +785,12 @@ namespace MediaBrowser.Server.Implementations.Library private T GetItemByName<T>(string path, string name) where T : BaseItem, new() { - if (string.IsNullOrEmpty(path)) + if (string.IsNullOrWhiteSpace(path)) { throw new ArgumentNullException("path"); } - if (string.IsNullOrEmpty(name)) + if (string.IsNullOrWhiteSpace(name)) { throw new ArgumentNullException("name"); } |
