From 80dc07a206cfe34a5627996e3b0e519c9380dea5 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Thu, 15 Jun 2023 01:52:13 +0200 Subject: [PATCH] Use direct notes access. --- Theme/Backend/client-profile.tpl.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Theme/Backend/client-profile.tpl.php b/Theme/Backend/client-profile.tpl.php index 4e1a0d3..f88fd89 100755 --- a/Theme/Backend/client-profile.tpl.php +++ b/Theme/Backend/client-profile.tpl.php @@ -23,7 +23,7 @@ $countries = \phpOMS\Localization\ISO3166NameEnum::getConstants(); * @var \Modules\ClientManagement\Models\Client $client */ $client = $this->data['client']; -$notes = $client->getNotes(); +$notes = $client->notes; $files = $client->files; $clientImage = $this->getData('clientImage') ?? new NullMedia();