Explorar o código

fix 3.5 build error

Luke Pulverenti %!s(int64=9) %!d(string=hai) anos
pai
achega
67642b6f57
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      MediaBrowser.Model/Dlna/StreamInfo.cs

+ 1 - 1
MediaBrowser.Model/Dlna/StreamInfo.cs

@@ -345,7 +345,7 @@ namespace MediaBrowser.Model.Dlna
                         StringHelper.ToStringCultureInvariant(startPositionTicks),
                         subtitleProfile.Format);
 
-                    if (!string.IsNullOrWhiteSpace(accessToken))
+                    if (!string.IsNullOrEmpty(accessToken))
                     {
                         info.Url += "?api_key=" + accessToken;
                     }