Skip to content
Permalink
Browse files

PRESIDECMS-1733 Fix for site redirect domains not working (need to se…

…lect site domain, not redirect record domain)
  • Loading branch information...
DominicWatson committed Nov 8, 2019
1 parent de8921c commit f5eec141750525016c69cb95f9b1524b622927a3
Showing with 2 additions and 1 deletion.
  1. +2 −1 system/services/siteTree/SiteService.cfc
@@ -255,7 +255,8 @@ component displayname="Site service" {
*/
public query function getRedirectSiteForDomain( required string domain ) output=false {
return _getSiteRedirectDomainDao().selectData(
filter = { domain = arguments.domain }
selectFields = [ "site.id", "site.protocol", "site.domain" ]
, filter = { domain = arguments.domain }
, savedFilters = [ "nonDeletedSites" ]
);
}

0 comments on commit f5eec14

Please sign in to comment.
You can’t perform that action at this time.