Allow compilation under later versions of valac (fixed empty array initialization)
[moonshot-ui.git] / src / moonshot-provisioning-common.vala
index a0c39c3..10e2366 100644 (file)
@@ -222,7 +222,7 @@ namespace WebProvisioning
 
         public IdCard[] cards {
             get {return _cards;}
-            private set {_cards = value ?? {};}
+            private set {_cards = value ?? new IdCard[0] ;}
         }
 
         public Parser(string path) {