price changed to display N/A when the value is $0.00
This commit is contained in:
parent
7f701f87d5
commit
85926e316f
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue