Shifting Widgets

This commit is contained in:
Sebastien Ros
2013-10-30 18:00:45 -07:00
parent a44b63465c
commit 17a96308c5
9 changed files with 87 additions and 34 deletions

View File

@@ -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) {