XMLRPC: Targets of email aliases are lists of strings instead of comma separated string patterns.
This commit is contained in:
parent
b0ea76d949
commit
ad6f20025c
@ -41,12 +41,6 @@ public class EMailAliasRemote extends AbstractRemote {
|
|||||||
alias.setName(name);
|
alias.setName(name);
|
||||||
}
|
}
|
||||||
Object l = map.get("target");
|
Object l = map.get("target");
|
||||||
if (l instanceof String) {
|
|
||||||
String target = (String) l;
|
|
||||||
if (assertNotNull(target)) {
|
|
||||||
alias.setTarget(target);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (l instanceof List<?>) {
|
if (l instanceof List<?>) {
|
||||||
StringBuffer tBuff = new StringBuffer();
|
StringBuffer tBuff = new StringBuffer();
|
||||||
for (Object o : (List<?>) l) {
|
for (Object o : (List<?>) l) {
|
||||||
|
Loading…
Reference in New Issue
Block a user