mirror of
https://github.com/Karaka-Management/oms-SupplierManagement.git
synced 2026-02-12 14:58:43 +00:00
formatting fixes, bug fixes and support impl.
This commit is contained in:
parent
e60e0546d2
commit
582ce1e61d
|
|
@ -490,7 +490,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/SupplierManagement/' . ($request->getData('supplier') ?? '0'),
|
||||
|
|
|
|||
|
|
@ -117,7 +117,7 @@ SupplierAttributeTypeL11n $l11n;
|
|||
{
|
||||
if ($l11n instanceof SupplierAttributeTypeL11n) {
|
||||
$this->l11n = $l11n;
|
||||
} elseif ($this->l11n instanceof SupplierAttributeTypeL11n) {
|
||||
} elseif (isset($this->l11n) && $this->l11n instanceof SupplierAttributeTypeL11n) {
|
||||
$this->l11n->title = $l11n;
|
||||
} else {
|
||||
$this->l11n = new SupplierAttributeTypeL11n();
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user