X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=gui%2Fbaculum%2Fprotected%2FPortlets%2FClientList.php;h=021c7a10b639f8e0042f77fbf194614fb59381bc;hb=d35219c485e3b02a368be6c0bceadc2697b60727;hp=5d3d5dadda0248747de2e2d76800a17662eb1782;hpb=6d5f1b7fe4d3a8e0cdd705a1ac55fcc758ab6cef;p=bacula%2Fbacula diff --git a/gui/baculum/protected/Portlets/ClientList.php b/gui/baculum/protected/Portlets/ClientList.php index 5d3d5dadda..021c7a10b6 100644 --- a/gui/baculum/protected/Portlets/ClientList.php +++ b/gui/baculum/protected/Portlets/ClientList.php @@ -40,7 +40,7 @@ class ClientList extends Portlets { if(in_array($this->getPage()->CallBackEventTarget->ID, $allowedButtons) || $forceReload) { $params = $this->getUrlParams('clients', $this->getPage()->ClientWindow->ID); $clients = $this->Application->getModule('api')->get($params); - $isDetailView = $this->Session['view' . $this->getPage()->ClientWindow->ID] == 'details'; + $isDetailView = $_SESSION['view' . $this->getPage()->ClientWindow->ID] == 'details'; $clientsList = $this->Application->getModule('misc')->objectToArray($clients->output); $this->RepeaterShow->Visible = !$isDetailView; $this->Repeater->DataSource = $isDetailView === false ? $clientsList : array();