fixed small bugs

This commit is contained in:
vfedosevich 2013-10-18 12:53:00 +03:00
parent 9d5e559604
commit 50245d5522
4 changed files with 9 additions and 3 deletions

View file

@ -1534,7 +1534,7 @@ namespace WebsitePanel.EnterpriseServer
/// <param name="name"> The name. </param>
/// <param name="serviceId"> The service identifier. </param>
/// <returns> The account name with organization Id. </returns>
private static string BuildAccountNameWithOrgId(string orgId, string name, int serviceId)
public static string BuildAccountNameWithOrgId(string orgId, string name, int serviceId)
{
name = ((orgId.Length + name.Length) > 19 && name.Length > 9) ? name.Substring(0, (19 - orgId.Length) < 10 ? 10 : 19 - orgId.Length) : name;