(fix) properly terminate dictionary initialization
This commit is contained in:
parent
72731e84f1
commit
ff65ba88ad
|
@ -553,7 +553,7 @@
|
||||||
|
|
||||||
values = [NSDictionary dictionaryWithObjectsAndKeys:
|
values = [NSDictionary dictionaryWithObjectsAndKeys:
|
||||||
[user cn], @"Cn",
|
[user cn], @"Cn",
|
||||||
[user systemEmail], @"SystemEmail"];
|
[user systemEmail], @"SystemEmail", nil];
|
||||||
reason = [values keysWithFormat: [self labelForKey: @"Cannot access resource: \"%{Cn} %{SystemEmail}\""]];
|
reason = [values keysWithFormat: [self labelForKey: @"Cannot access resource: \"%{Cn} %{SystemEmail}\""]];
|
||||||
return [NSException exceptionWithHTTPStatus:403 reason: reason];
|
return [NSException exceptionWithHTTPStatus:403 reason: reason];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue