Skip to content

Commit

Permalink
Fix missing variables in skipContainerActions()
Browse files Browse the repository at this point in the history
  • Loading branch information
austinwbest committed May 21, 2024
1 parent 090249f commit 3117bf9
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions root/app/www/public/functions/containers.php
Original file line number Diff line number Diff line change
Expand Up @@ -303,9 +303,10 @@ function renderContainerRow($nameHash, $return)

function skipContainerActions($container, $containers)
{
global $settingsFile;
global $docker, $settingsFile, $stateFile;

$settingsFile = $settingsFile ? $settingsFile : getServerFile('settings');
$settingsFile = $settingsFile ? $settingsFile : getServerFile('settings');
$stateFile = $stateFile ? $stateFile : getServerFile('state');

if ($settingsFile['containers']) {
foreach ($settingsFile['containers'] as $containerHash => $containerSettings) {
Expand All @@ -328,4 +329,4 @@ function skipContainerActions($container, $containers)
}

return SKIP_OFF;
}
}

0 comments on commit 3117bf9

Please sign in to comment.