mirror of
https://github.com/Karaka-Management/oms-ClientManagement.git
synced 2026-01-24 13:48:42 +00:00
formatting fixes, bug fixes and support impl.
This commit is contained in:
parent
7867c41092
commit
1f2a7eb88a
|
|
@ -491,7 +491,7 @@ final class ApiController extends Controller
|
|||
}
|
||||
|
||||
$uploaded = $this->app->moduleManager->get('Media')->uploadFiles(
|
||||
$request->getData('name') ?? '',
|
||||
[$request->getData('name') ?? ''],
|
||||
$uploadedFiles,
|
||||
$request->header->account,
|
||||
__DIR__ . '/../../../Modules/Media/Files/Modules/ClientManagement/' . ($request->getData('client') ?? '0'),
|
||||
|
|
|
|||
|
|
@ -117,7 +117,7 @@ ClientAttributeTypeL11n $l11n;
|
|||
{
|
||||
if ($l11n instanceof ClientAttributeTypeL11n) {
|
||||
$this->l11n = $l11n;
|
||||
} elseif ($this->l11n instanceof ClientAttributeTypeL11n) {
|
||||
} elseif (isset($this->l11n) && $this->l11n instanceof ClientAttributeTypeL11n) {
|
||||
$this->l11n->title = $l11n;
|
||||
} else {
|
||||
$this->l11n = new ClientAttributeTypeL11n();
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user