Skip to content

Commit

Permalink
bugfix undefined variable if oney is not active
Browse files Browse the repository at this point in the history
  • Loading branch information
PPmmesquita committed Aug 23, 2023
1 parent 9b7fa08 commit 7d01311
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Observer/StandardAvailabilityObserver.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ public function execute(Observer $observer)
}

$prefix = '';
$path = Config::CONFIG_PATH;
if ($adapter->getCode() == Oney::METHOD_CODE || $adapter->getCode() == OneyWithoutFees::METHOD_CODE) {
$prefix = 'oney_';
$path = Config::ONEY_CONFIG_PATH;
Expand Down

0 comments on commit 7d01311

Please sign in to comment.