mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Invalidating sesion configuration when a record is changed
This commit is contained in:
@@ -154,7 +154,7 @@ namespace Orchard.Data {
|
||||
if (recordType.BaseType != null)
|
||||
hash.AddTypeReference(recordType.BaseType);
|
||||
|
||||
foreach (var property in recordType.GetProperties(BindingFlags.DeclaredOnly | BindingFlags.Public)) {
|
||||
foreach (var property in recordType.GetProperties(BindingFlags.DeclaredOnly | BindingFlags.Public | BindingFlags.Instance)) {
|
||||
hash.AddString(property.Name);
|
||||
hash.AddTypeReference(property.PropertyType);
|
||||
|
||||
|
Reference in New Issue
Block a user