mirror of
https://github.com/Karaka-Management/oms-ItemManagement.git
synced 2026-02-16 20:28:42 +00:00
formatting fixes, bug fixes and support impl.
This commit is contained in:
parent
687e0f366f
commit
5f1d11614b
|
|
@ -577,7 +577,7 @@ final class ApiController extends Controller
|
||||||
}
|
}
|
||||||
|
|
||||||
$uploaded = $this->app->moduleManager->get('Media')->uploadFiles(
|
$uploaded = $this->app->moduleManager->get('Media')->uploadFiles(
|
||||||
$request->getData('name') ?? '',
|
[$request->getData('name') ?? ''],
|
||||||
$uploadedFiles,
|
$uploadedFiles,
|
||||||
$request->header->account,
|
$request->header->account,
|
||||||
__DIR__ . '/../../../Modules/Media/Files/Modules/ItemManagement/Articles/' . ($request->getData('item') ?? '0'),
|
__DIR__ . '/../../../Modules/Media/Files/Modules/ItemManagement/Articles/' . ($request->getData('item') ?? '0'),
|
||||||
|
|
|
||||||
|
|
@ -117,7 +117,7 @@ ItemAttributeTypeL11n $l11n;
|
||||||
{
|
{
|
||||||
if ($l11n instanceof ItemAttributeTypeL11n) {
|
if ($l11n instanceof ItemAttributeTypeL11n) {
|
||||||
$this->l11n = $l11n;
|
$this->l11n = $l11n;
|
||||||
} elseif ($this->l11n instanceof ItemAttributeTypeL11n) {
|
} elseif (isset($this->l11n) && $this->l11n instanceof ItemAttributeTypeL11n) {
|
||||||
$this->l11n->title = $l11n;
|
$this->l11n->title = $l11n;
|
||||||
} else {
|
} else {
|
||||||
$this->l11n = new ItemAttributeTypeL11n();
|
$this->l11n = new ItemAttributeTypeL11n();
|
||||||
|
|
|
||||||
0
Theme/Backend/item-analysis.tpl.php
Normal file → Executable file
0
Theme/Backend/item-analysis.tpl.php
Normal file → Executable file
Loading…
Reference in New Issue
Block a user