Browse Source

Last line?

Bond-009 6 years ago
parent
commit
02b864e41b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Emby.Server.Implementations/Activity/ActivityRepository.cs

+ 1 - 1
Emby.Server.Implementations/Activity/ActivityRepository.cs

@@ -15,7 +15,7 @@ namespace Emby.Server.Implementations.Activity
 {
     public class ActivityRepository : BaseSqliteRepository, IActivityRepository
     {
-        private static readonly CultureInfo _usCulture = new CultureInfo("en-US");
+        private static readonly CultureInfo _usCulture = CultureInfo.ReadOnly(new CultureInfo("en-US"));
         private readonly IFileSystem _fileSystem;
 
         public ActivityRepository(ILoggerFactory loggerFactory, IServerApplicationPaths appPaths, IFileSystem fileSystem)