Skip to content

Commit

Permalink
PT-13108 - Pr changes
Browse files Browse the repository at this point in the history
  • Loading branch information
DennisGarding committed Jun 27, 2023
1 parent a7d7ffe commit 4301675
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ private function getLandingPage(General $generalSettings)
{
$currentLandingPage = $generalSettings->getLandingPageType();

if (!\in_array($currentLandingPage, ExperienceContext::LANDING_PAGES)) {
if (!\in_array($currentLandingPage, ExperienceContext::LANDING_PAGE_TYPES)) {
return ExperienceContext::LANDING_PAGE_TYPE_NO_PREFERENCE;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class ExperienceContext extends PayPalApiStruct

const LANDING_PAGE_TYPE_NO_PREFERENCE = 'NO_PREFERENCE';

const LANDING_PAGES = [
const LANDING_PAGE_TYPES = [
self::LANDING_PAGE_TYPE_BILLING,
self::LANDING_PAGE_TYPE_LOGIN,
self::LANDING_PAGE_TYPE_NO_PREFERENCE,
Expand Down
4 changes: 2 additions & 2 deletions plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@

<changelog version="REPLACE_GLOBAL_WITH_NEXT_VERSION(6.0.9)">
<changes lang="de">
PT-13108 - Setzt Standard-Landingpage, wenn keine ausgewählt wurde;
PT-13108 - Nutzt Standard-Landingpage, wenn die Einstellung nicht korrekt gesetzt wurde;
</changes>
<changes lang="en">
PT-13108 - Sets default landing page if none is selected;
PT-13108 - Uses default landing page if setting is not set correctly;
</changes>
</changelog>

Expand Down

0 comments on commit 4301675

Please sign in to comment.