From 2fd54f1bdd8a0a6451d213952c73b25d3fb923fd Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Thu, 15 Jun 2023 01:55:36 +0200 Subject: [PATCH] Use direct member access for notes. --- Theme/Backend/supplier-profile.tpl.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Theme/Backend/supplier-profile.tpl.php b/Theme/Backend/supplier-profile.tpl.php index c9d11ad..c4969ea 100755 --- a/Theme/Backend/supplier-profile.tpl.php +++ b/Theme/Backend/supplier-profile.tpl.php @@ -23,7 +23,7 @@ $countries = \phpOMS\Localization\ISO3166NameEnum::getConstants(); * @var \Modules\SupplierManagement\Models\Supplier $supplier */ $supplier = $this->data['supplier']; -$notes = $supplier->getNotes(); +$notes = $supplier->notes; $files = $supplier->files; $supplierImage = $this->getData('supplierImage') ?? new NullMedia();