From b99285cfa53bf9b79c52e8f406f18190efb3a039 Mon Sep 17 00:00:00 2001 From: marcdeb1 Date: Fri, 21 Dec 2018 17:15:02 +0100 Subject: [PATCH] Minor bugs --- src/Template/Element/claimbox.ctp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Template/Element/claimbox.ctp b/src/Template/Element/claimbox.ctp index 8013628..628188c 100644 --- a/src/Template/Element/claimbox.ctp +++ b/src/Template/Element/claimbox.ctp @@ -1,8 +1,8 @@ getAutoThumbText(); $cost = ''; -if (isset($claim->Price) && $claim->Price > 0) { - $cost = $this->Amount->formatCurrency($claim->Price) . ' LBC'; +if (isset($claim->price) && $claim->price > 0) { + $cost = $this->Amount->formatCurrency($claim->price) . ' LBC'; } else if (isset($claim->fee) && strtolower($claim->fee_currency) === 'lbc') { $cost = $this->Amount->formatCurrency($claim->fee) . ' LBC'; }