Skip to content

Commit

Permalink
fix: Environment::setCurrentCheckoutTenant() compares wrong variable …
Browse files Browse the repository at this point in the history
…- related to #130
  • Loading branch information
das-peter authored and dvesh3 committed Oct 31, 2023
1 parent 298e25f commit 736a027
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Environment.php
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ public function setCurrentCheckoutTenant(string $tenant, bool $persistent = true
{
$this->load();

if ($this->currentCheckoutTenant != $tenant) {
if ($this->currentTransientCheckoutTenant != $tenant) {
if ($persistent) {
$this->currentCheckoutTenant = $tenant;
}
Expand Down

0 comments on commit 736a027

Please sign in to comment.