mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-26 20:16:15 +08:00
Fixes #7258
This commit is contained in:
committed by
Sébastien Ros
parent
5c430ef7d1
commit
f37225dedd
@@ -283,7 +283,7 @@ namespace Orchard.Core.Shapes {
|
||||
[Shape]
|
||||
public void ContentZone(dynamic Display, dynamic Shape, TextWriter Output) {
|
||||
var unordered = ((IEnumerable<dynamic>)Shape).ToArray();
|
||||
var tabbed = unordered.GroupBy(x => (string)x.Metadata.Tab);
|
||||
var tabbed = unordered.GroupBy(x => (string)x.Metadata.Tab ?? "");
|
||||
|
||||
if (tabbed.Count() > 1) {
|
||||
foreach (var tab in tabbed) {
|
||||
|
||||
Reference in New Issue
Block a user