fix: [meta-template:update] Typo in variable name

refacto/CRUDComponent
Sami Mokaddem 2023-03-13 11:40:47 +01:00
parent c2e9fd3b75
commit dbf18da087
No known key found for this signature in database
GPG Key ID: 164C473F627A06FA
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ if ($updateStatus['up-to-date']) {
'dismissible' => false, 'dismissible' => false,
]); ]);
$modalType = 'ok-only'; $modalType = 'ok-only';
} else if (empty($updateStatus['templateOnDisk'])) { } else if (empty($templateOnDisk)) {
$diskTemplateError = $templateStatus['error'] ?? __('Unknown'); $diskTemplateError = $templateStatus['error'] ?? __('Unknown');
$bodyHtml .= $this->Bootstrap->alert([ $bodyHtml .= $this->Bootstrap->alert([
'variant' => 'danger', 'variant' => 'danger',