diff --git a/archive/community.applications-2024.01.14-x86_64-1.txz b/archive/community.applications-2024.01.14-x86_64-1.txz index 3e22cc64..81acb1d5 100644 Binary files a/archive/community.applications-2024.01.14-x86_64-1.txz and b/archive/community.applications-2024.01.14-x86_64-1.txz differ diff --git a/source/community.applications/usr/local/emhttp/plugins/community.applications/ca.md5 b/source/community.applications/usr/local/emhttp/plugins/community.applications/ca.md5 index 94fed6e0..78c1e1dd 100644 --- a/source/community.applications/usr/local/emhttp/plugins/community.applications/ca.md5 +++ b/source/community.applications/usr/local/emhttp/plugins/community.applications/ca.md5 @@ -2,7 +2,7 @@ 2defe45163697e40c813a57ae9a50231 ./CA_notices.page fc664dd4cf65ab02d828a5ae76f263ac ./ca_settings.page 01ed7990078dee7cecfeda9a4e49377e ./default.cfg -78c8c71467756add9d5d7678bae6aa11 ./include/exec.php +2b21c03aaa5e8bb2427c1a763238d55b ./include/exec.php bff4d4568073244b2ae9a0cad219f392 ./include/helpers.php 024499c59dcea65a8cf1f224e2bd36e7 ./include/paths.php 7234caf6800479df03abb222aaedaca5 ./javascript/libraries.js diff --git a/source/community.applications/usr/local/emhttp/plugins/community.applications/include/exec.php b/source/community.applications/usr/local/emhttp/plugins/community.applications/include/exec.php index 121e0a62..005e38cb 100644 --- a/source/community.applications/usr/local/emhttp/plugins/community.applications/include/exec.php +++ b/source/community.applications/usr/local/emhttp/plugins/community.applications/include/exec.php @@ -1170,7 +1170,7 @@ function previous_apps() { $runningflag = false; foreach ($info as $installedDocker) { - if ( $$installedDocker['Name'] == $o['Name'] ) { + if ( $installedDocker['Name'] == $o['Name'] ) { if ( startsWith(str_replace("library/","",$installedDocker['Image']), $o['Repository']) || startsWith($installedDocker['Image'],$o['Repository']) ) { $runningflag = true; $searchResult = searchArray($file,'Repository',$o['Repository']); @@ -1182,11 +1182,11 @@ function previous_apps() { $containerID = $file[$searchResult]['ID']; $tmpOvr = $o['Overview']; $o = $file[$searchResult]; - $o['Name'] = $installedName; + $o['Name'] = $installedDocker['Name']; $o['Overview'] = $tmpOvr; $o['CardDescription'] = $tmpOvr; $o['InstallPath'] = $tempPath; - $o['SortName'] = str_replace("-"," ",$installedName); + $o['SortName'] = str_replace("-"," ",$o['Name']); if ( $installedName !== $file[$searchResult]['Name'] ) $o['NoPin'] = true; # This is renamed and effectively outside of CA's control } else { @@ -1246,8 +1246,8 @@ function previous_apps() { $flag = false; foreach ($info as $installedDocker) { - if ( startsWith($str_replace("library/","",$installedDocker['Image']), $o['Repository']) || startsWith($installedDocker['Image'],$o['Repository']) ) { - if ( $$installedDocker['Name'] == $o['Name'] ) { + if ( startsWith(str_replace("library/","",$installedDocker['Image']), $o['Repository']) || startsWith($installedDocker['Image'],$o['Repository']) ) { + if ( $installedDocker['Name'] == $o['Name'] ) { $flag = true; continue; } @@ -2412,7 +2412,7 @@ function enableActionCentre() { $runningflag = false; foreach ($info as $installedDocker) { if ( $installedDocker['Name'] == $o['Name'] ) { - if ( startsWith($str_replace("library/","",$installedDocker['Image']), $o['Repository']) || startsWith($installedDocker['Image'],$o['Repository']) ) { + if ( startsWith(str_replace("library/","",$installedDocker['Image']), $o['Repository']) || startsWith($installedDocker['Image'],$o['Repository']) ) { $runningflag = true; $searchResult = searchArray($file,'Repository',$o['Repository']); if ( $searchResult === false) {