Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
zoic21 committed Sep 2, 2024
1 parent 132de39 commit 5b02d61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/repo/market.display.repo.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
echo '<span data-l1key="rating" style="font-size: 1.5em;">{{Nous Contacter}}</span>';
} else {
if ($market->getCost() > 0) {
if (isset($purchase_info['user_id']) && is_numeric($purchase_info['user_id'])) {
if ($market->getPurchase() == 1 && isset($purchase_info['user_id']) && is_numeric($purchase_info['user_id'])) {
echo '<span data-l1key="rating" style="font-size: 1.5em;">{{Plugin deja acheté et/ou inclus dans votre service Pack}}</span>';
}else{
if ($market->getCost() != $market->getRealCost()) {
Expand Down

0 comments on commit 5b02d61

Please sign in to comment.