v1.2.10.2

This commit is contained in:
2022-12-15 16:58:20 +00:00
parent 61af3ef40b
commit e64205a6df
13 changed files with 219 additions and 67 deletions
@@ -202,7 +202,7 @@ namespace Saxonite.Net.Core.Web.Admin.Models
{
String methodValue = ContactMethod[idx];
String value = ContactValue[idx];
if (methodValue == null & value == null) continue;
if (methodValue == null && value == null) continue;
Sax.ContactMethod method = EnumUtil.ParseEnum(methodValue, Sax.ContactMethod.Unknown);
if (method > 0 && !value.IsEmpty() && SaxContactMethodHelper.IsValidContactMethodValue(method, value))
ContactData.SetContactMethodValue(method, value);