Skip to content

Commit 1454e43

Browse files
committed
Minor fix
1 parent a1e5639 commit 1454e43

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/Libraries/SmartStore.Core/Data/RepositoryExtensions.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,9 @@ public static IQueryable<T> Get<T>(
6464
query = query.Where(predicate);
6565
}
6666

67-
foreach (var includeProperty in includeProperties.Split
68-
(new char[] { ',' }, StringSplitOptions.RemoveEmptyEntries))
67+
foreach (var includeProperty in includeProperties.Split(new char[] { ',' }, StringSplitOptions.RemoveEmptyEntries))
6968
{
70-
query = rs.Expand(query, includeProperty.Trim());
69+
query = query.Expand(includeProperty.Trim());
7170
}
7271

7372
if (orderBy != null)

0 commit comments

Comments
 (0)