price changed to display N/A when the value is $0.00
This commit is contained in:
parent
6f5acdbc19
commit
32c7118cf8
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;
|
return $lbcUsdPrice;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue