mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-21 11:17:28 +08:00
Shifting Widgets
This commit is contained in:
@@ -26,7 +26,7 @@ namespace Orchard.Core.Settings.Services {
|
||||
public ISite GetSiteSettings() {
|
||||
var siteId = _cacheManager.Get("SiteId", ctx => {
|
||||
var site = _contentManager.Query("Site")
|
||||
.Slice(0, 1)
|
||||
.List()
|
||||
.FirstOrDefault();
|
||||
|
||||
if (site == null) {
|
||||
|
Reference in New Issue
Block a user