Skip to content

Commit

Permalink
Merge pull request #35 from alexplusde/tyrant88-patch-1
Browse files Browse the repository at this point in the history
swap two config value names in wsm_lang.php
  • Loading branch information
alxndr-w authored Apr 14, 2024
2 parents eac2339 + fd373cf commit 6de8499
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/wsm_lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ private static function getConsentModal()
$privacy_policy = $domain->getPrivacyPolicyArticle();
$imprint = $domain->getImprintArticle();
} else {
$privacy_policy = rex_article::get(wsm::getConfig("wsm_domain_imprint_id"));
$imprint = rex_article::get(wsm::getConfig("wsm_domain_privacy_policy_id"));
$privacy_policy = rex_article::get(wsm::getConfig("wsm_domain_privacy_policy_id"));
$imprint = rex_article::get(wsm::getConfig("wsm_domain_imprint_id"));
}
$consentModal["footer"] = '<a href="'.$privacy_policy->getUrl().'">'.$privacy_policy->getName().'</a>
<a href="'.$imprint->getUrl().'">'.$imprint->getName().'</a>';
Expand Down

0 comments on commit 6de8499

Please sign in to comment.