Skip to content

Commit

Permalink
better price comparsion
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitexus committed Aug 6, 2024
1 parent 3512e5e commit 7f08cc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PriceFix/Bundler.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ public function fixAll() {
}

$bundlePrice = $this->overallPrice();
if ($pprice != $bundlePrice) {
if (strval($pprice) != strval($bundlePrice)) {
$this->addStatusMessage($progress . ' 📦 ' . \AbraFlexi\Functions::uncode($bundleCode) . ' ' . $pprice . ' ➟ 💰 ' . strval($bundlePrice) . ' 💶', $this->saveBundlePrice($bundlePrice) ? 'success' : 'error');
} else {
$this->addStatusMessage($progress . ' 📦 ' . \AbraFlexi\Functions::uncode($bundleCode) . ' = 💰 ' . strval($bundlePrice) . ' 💶 - no change', 'info');
Expand Down

0 comments on commit 7f08cc2

Please sign in to comment.