summaryrefslogtreecommitdiffstats
path: root/modules-available
diff options
context:
space:
mode:
authorSimon Rettberg2023-11-15 19:07:40 +0100
committerSimon Rettberg2023-11-15 19:07:40 +0100
commit89fa2794dcfa70cdeba7fc178cc60caef146dc94 (patch)
tree53cbd76bf4d8dcef37297e36d8f444830ca2f20c /modules-available
parent[inc/Message] Fix deserializing messages from URL (diff)
downloadslx-admin-89fa2794dcfa70cdeba7fc178cc60caef146dc94.tar.gz
slx-admin-89fa2794dcfa70cdeba7fc178cc60caef146dc94.tar.xz
slx-admin-89fa2794dcfa70cdeba7fc178cc60caef146dc94.zip
[sysconfig] Fix invalid array key access
Diffstat (limited to 'modules-available')
-rw-r--r--modules-available/sysconfig/addmodule_branding.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules-available/sysconfig/addmodule_branding.inc.php b/modules-available/sysconfig/addmodule_branding.inc.php
index 52d466fe..4cbcb66f 100644
--- a/modules-available/sysconfig/addmodule_branding.inc.php
+++ b/modules-available/sysconfig/addmodule_branding.inc.php
@@ -78,7 +78,7 @@ class Branding_ProcessFile extends AddModule_Base
Render::addDialog(Dictionary::translateFile('config-module', 'branding_title'), false, 'branding-check', array(
'png' => $png,
'svg' => $svg,
- 'error' => $this->task['data']['error'],
+ 'error' => $this->task['data']['error'] ?? $this->task['statusCode'],
'step' => 'Branding_Finish',
'edit' => $this->edit === null ? null : $this->edit->id(),
'title' => $this->edit === null ? null : $this->edit->title(),