diff --git a/src/Controller/MainController.php b/src/Controller/MainController.php index 52af76f..c585fd4 100644 --- a/src/Controller/MainController.php +++ b/src/Controller/MainController.php @@ -77,7 +77,7 @@ class MainController extends AppController { } } - $lbcUsdPrice = isset($priceInfo->price) ? '$' . $priceInfo->price : 'N/A'; + $lbcUsdPrice = (isset($priceInfo->price) && ($priceInfo->price > 0)) ? '$' . $priceInfo->price : 'N/A'; return $lbcUsdPrice; }