Lync Module fixes
This commit is contained in:
parent
6936594f9c
commit
59737303bc
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ namespace WebsitePanel.Portal.UserControls
|
||||||
}
|
}
|
||||||
|
|
||||||
// bind controls
|
// bind controls
|
||||||
int max = quotaAllowed == -1 ? listExternalAddresses.Items.Count : quotaAllowed;
|
int max = quotaAllowed == -1 ? listExternalAddresses.Items.Count : Math.Min(quotaAllowed, listExternalAddresses.Items.Count);
|
||||||
|
|
||||||
txtExternalAddressesNumber.Text = max.ToString();
|
txtExternalAddressesNumber.Text = max.ToString();
|
||||||
litMaxAddresses.Text = String.Format(GetLocalizedString("litMaxAddresses.Text"), max);
|
litMaxAddresses.Text = String.Format(GetLocalizedString("litMaxAddresses.Text"), max);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue