diff --git a/pages/dashboard.php b/pages/dashboard.php index 8917853..fafc48e 100644 --- a/pages/dashboard.php +++ b/pages/dashboard.php @@ -9,7 +9,7 @@ if(isset($_SESSION['LOGIN'])) foreach($allContainers as $thisContainer) { - if($thisContainer['Id'] == $_SESSION['CONTAINER'] || $thisContainer['Names'][0] == ltrim($_SESSION['CONTAINER'], '/')) + if($thisContainer['Id'] == $_SESSION['CONTAINER'] || $_SESSION['CONTAINER'] == ltrim($container['Names']['0'], '/')) $container = $thisContainer; }