master
Squidly271 2024-01-17 18:26:56 -05:00
parent 084b8171ee
commit 75ad0edc13
3 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@
2defe45163697e40c813a57ae9a50231 ./CA_notices.page
fc664dd4cf65ab02d828a5ae76f263ac ./ca_settings.page
01ed7990078dee7cecfeda9a4e49377e ./default.cfg
2b21c03aaa5e8bb2427c1a763238d55b ./include/exec.php
a9299f5b3ef39ccc45b9b8a1e972e87d ./include/exec.php
bff4d4568073244b2ae9a0cad219f392 ./include/helpers.php
024499c59dcea65a8cf1f224e2bd36e7 ./include/paths.php
7234caf6800479df03abb222aaedaca5 ./javascript/libraries.js

View File

@ -1880,9 +1880,9 @@ function createXML() {
return;
}
$template = $templates[$index];
if ( $template['OriginalOverview'] )
if ( $template['OriginalOverview'] ?? false )
$template['Overview'] = $template['OriginalOverview'];
if ( $template['OriginalDescription'] )
if ( $template['OriginalDescription'] ?? false )
$template['Description'] = $template['OriginalDescription'];
$template['Icon'] = $template["Icon-{$caSettings['dynamixTheme']}"] ?? $template['Icon'];
@ -1924,7 +1924,7 @@ function createXML() {
$template['Data']['Volume'] = $testarray;
}
if ( $template['Config'] ) {
if ( $template['Config'] ?? false ) {
$testarray = $template['Config'] ?: [];
if (!($testarray[0]??false)) $testarray = [$testarray];