Fixes U4-672

This commit is contained in:
hartvig
2012-08-22 10:20:59 -02:00
parent 7b4bf6e502
commit ec638b9c3e

View File

@@ -1,5 +1,6 @@
using System;
using System.Collections;
using System.Linq;
namespace umbraco.macroRenderings
{
@@ -70,7 +71,7 @@ namespace umbraco.macroRenderings
}
Hashtable ht = new Hashtable();
foreach(cms.businesslogic.propertytype.PropertyType pt in cms.businesslogic.propertytype.PropertyType.GetAll())
foreach(cms.businesslogic.propertytype.PropertyType pt in cms.businesslogic.propertytype.PropertyType.GetPropertyTypes().OrderBy(x => x.Name))
{
if (!ht.ContainsKey(pt.Alias))
{