mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
Executing enumerable early on to avoid a potential issues.
This commit is contained in:
@@ -85,7 +85,7 @@ namespace Orchard.AuditTrail.Services {
|
||||
var query = session.CreateQuery(hql);
|
||||
|
||||
if (contentItemIds != null) {
|
||||
query.SetParameterList("ids", contentItemIds);
|
||||
query.SetParameterList("ids", contentItemIds.ToArray());
|
||||
}
|
||||
|
||||
return query;
|
||||
|
||||
Reference in New Issue
Block a user