mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Merge pull request #5652 from Codinlab/issues/5614
Fixes #5614 : ContentPickerField and LayoutPart issue
This commit is contained in:
@@ -17,7 +17,7 @@ namespace Orchard.ContentPicker.Fields {
|
|||||||
|
|
||||||
public IEnumerable<ContentItem> ContentItems {
|
public IEnumerable<ContentItem> ContentItems {
|
||||||
get {
|
get {
|
||||||
return _contentItems.Value;
|
return _contentItems.Value ?? Enumerable.Empty<ContentItem>();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user