formatting fixes, bug fixes and support impl.

This commit is contained in:
Dennis Eichhorn 2021-07-04 18:27:21 +02:00
parent 687e0f366f
commit 5f1d11614b
3 changed files with 2 additions and 2 deletions

View File

@ -577,7 +577,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/ItemManagement/Articles/' . ($request->getData('item') ?? '0'),

View File

@ -117,7 +117,7 @@ ItemAttributeTypeL11n $l11n;
{
if ($l11n instanceof ItemAttributeTypeL11n) {
$this->l11n = $l11n;
} elseif ($this->l11n instanceof ItemAttributeTypeL11n) {
} elseif (isset($this->l11n) && $this->l11n instanceof ItemAttributeTypeL11n) {
$this->l11n->title = $l11n;
} else {
$this->l11n = new ItemAttributeTypeL11n();

0
Theme/Backend/item-analysis.tpl.php Normal file → Executable file
View File