From 69ee30dfd988568dbf215edbbf118cba6dc730f9 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Fri, 8 Dec 2023 21:52:33 +0000 Subject: [PATCH] bug fixes --- Controller/ApiController.php | 5 +++-- ICAL.txt | 2 +- Theme/Backend/Components/AccountGroupSelector/popup.tpl.php | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Controller/ApiController.php b/Controller/ApiController.php index b2e8148..7321123 100755 --- a/Controller/ApiController.php +++ b/Controller/ApiController.php @@ -15,7 +15,6 @@ declare(strict_types=1); namespace Modules\Profile\Controller; use Modules\Admin\Models\AccountMapper; -use Modules\Admin\Models\Address; use Modules\Admin\Models\AddressMapper; use Modules\Media\Models\MediaMapper; use Modules\Media\Models\NullMedia; @@ -28,6 +27,7 @@ use phpOMS\Message\Http\RequestStatusCode; use phpOMS\Message\NotificationLevel; use phpOMS\Message\RequestAbstract; use phpOMS\Message\ResponseAbstract; +use phpOMS\Stdlib\Base\Address; /** * Profile class. @@ -360,10 +360,11 @@ final class ApiController extends Controller /** @var Address $element */ $element = new Address(); $element->name = $request->getDataString('name') ?? ''; - $element->addition = $request->getDataString('addition') ?? ''; + $element->fao = $request->getDataString('fao') ?? ''; $element->postal = $request->getDataString('postal') ?? ''; $element->city = $request->getDataString('city') ?? ''; $element->address = $request->getDataString('address') ?? ''; + $element->addressAddition = $request->getDataString('addition') ?? ''; $element->state = $request->getDataString('state') ?? ''; $element->setCountry($request->getDataString('country') ?? ''); $element->setType($request->getDataInt('type') ?? 0); diff --git a/ICAL.txt b/ICAL.txt index 019045f..f1b55ed 100755 --- a/ICAL.txt +++ b/ICAL.txt @@ -1,6 +1,6 @@ # Individual Contributor License Agreement ("CLA") 1.0 -Thank you for your interest in Karaka-Management (the "Company"). In order to clarify the intellectual property license granted with Contributions from any person or entity, the Company must provide a Contributor License Agreement ("CLA") on file that has been made available to each Contributor. This license is for your protection as a Contributor as well as the protection of the Company and its users; it does not change your rights to use your own Contributions for any other purpose. +Thank you for your interest in Jingga e. K. (the "Company"). In order to clarify the intellectual property license granted with Contributions from any person or entity, the Company must provide a Contributor License Agreement ("CLA") on file that has been made available to each Contributor. This license is for your protection as a Contributor as well as the protection of the Company and its users; it does not change your rights to use your own Contributions for any other purpose. By contributing to the Company You accept and agree to the following terms and conditions for Your present and future Contributions submitted to the Company. In return, the Company shall not use Your Contributions in a way that is contrary to the public benefit or inconsistent with its bylaws in effect at the time of the Contribution. Except for the license granted herein to the Company and recipients of software distributed by the Company, You reserve all right, title, and interest in and to Your Contributions. diff --git a/Theme/Backend/Components/AccountGroupSelector/popup.tpl.php b/Theme/Backend/Components/AccountGroupSelector/popup.tpl.php index e6866ec..6535ff8 100755 --- a/Theme/Backend/Components/AccountGroupSelector/popup.tpl.php +++ b/Theme/Backend/Components/AccountGroupSelector/popup.tpl.php @@ -33,7 +33,7 @@ City Zip Country - +