mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-10-10 05:49:08 +00:00
update nuget
This commit is contained in:
parent
b70ecab40a
commit
48265fefa4
9 changed files with 48 additions and 14 deletions
|
|
@ -62,7 +62,12 @@ namespace MediaBrowser.Common.Extensions
|
|||
/// <exception cref="System.ArgumentNullException">attrib</exception>
|
||||
public static string GetAttributeValue(this string str, string attrib)
|
||||
{
|
||||
if (attrib == null)
|
||||
if (string.IsNullOrEmpty(str))
|
||||
{
|
||||
throw new ArgumentNullException("str");
|
||||
}
|
||||
|
||||
if (string.IsNullOrEmpty(attrib))
|
||||
{
|
||||
throw new ArgumentNullException("attrib");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue