Skip to content

Commit 77f8e0f

Browse files
committed
bugfix
1 parent 5ece2ac commit 77f8e0f

File tree

1 file changed

+1
-1
lines changed
  • publiccms-parent/publiccms-core/src/main/java/com/publiccms/logic/component/site

1 file changed

+1
-1
lines changed

publiccms-parent/publiccms-core/src/main/java/com/publiccms/logic/component/site/SiteComponent.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ public SysSite getSite(SysDomain domain, String serverName, String path) {
293293
String cacheKey = CommonUtils.joinString(serverName, Constants.SEPARATOR, directory);
294294
SysSite newsite = siteCache.get(cacheKey);
295295
if (null == newsite) {
296-
site = sysSiteService.getEntity(domain.getSiteId(), directory);
296+
newsite = sysSiteService.getEntity(domain.getSiteId(), directory);
297297
}
298298
if (null != newsite) {
299299
site = newsite;

0 commit comments

Comments
 (0)