Jelajahi Sumber

Fix to serialisation of InList

Kenric Nugteren 2 tahun lalu
induk
melakukan
760f4e8ba2
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      InABox.Core/Filter.cs

+ 1 - 1
InABox.Core/Filter.cs

@@ -1160,7 +1160,7 @@ namespace InABox.Core
             if (value is null)
             {
             }
-            else if(value is object[] objArr)
+            else if(value.GetType() == typeof(object[]) && value is object[] objArr)
             {
                 writer.Write(objArr.Length);
                 foreach (var item in objArr)