use existing array to split (#10999)
This commit is contained in:
@@ -40,7 +40,7 @@ namespace Umbraco.Core.PropertyEditors.ValueConverters
|
||||
}
|
||||
|
||||
// Otherwise assume CSV storage type and return as string array
|
||||
return source.ToString().Split(new[] { "," }, StringSplitOptions.RemoveEmptyEntries);
|
||||
return source.ToString().Split(Constants.CharArrays.Comma, StringSplitOptions.RemoveEmptyEntries);
|
||||
}
|
||||
|
||||
public override object ConvertIntermediateToObject(IPublishedElement owner, IPublishedPropertyType propertyType, PropertyCacheLevel cacheLevel, object source, bool preview)
|
||||
|
||||
Reference in New Issue
Block a user