diff --git a/hsarback/src/de/hsadmin/remote/DomainRemote.java b/hsarback/src/de/hsadmin/remote/DomainRemote.java index 8ee31f2..c7dba9a 100644 --- a/hsarback/src/de/hsadmin/remote/DomainRemote.java +++ b/hsarback/src/de/hsadmin/remote/DomainRemote.java @@ -63,10 +63,12 @@ public class DomainRemote extends AbstractRemote { } Set domainOptionsSet = new TreeSet(); Object domOptsObj = setParams.get("domainoptions"); - if (domOptsObj != null && domOptsObj instanceof List) { - List domOptions = (List) domOptsObj; - for (String optString : domOptions) { - domOptions.add(optString); + if (domOptsObj != null && domOptsObj instanceof Object[]) { + Object[] domOptions = (Object[]) domOptsObj; + for (int i=0; i