]> git.sur5r.net Git - bacula/bacula/blobdiff - gui/baculum/protected/Portlets/ClientList.php
baculum: Improve stability by replace framework session calls to raw PHP sessions
[bacula/bacula] / gui / baculum / protected / Portlets / ClientList.php
index 5d3d5dadda0248747de2e2d76800a17662eb1782..021c7a10b639f8e0042f77fbf194614fb59381bc 100644 (file)
@@ -40,7 +40,7 @@ class ClientList extends Portlets {
                        if(in_array($this->getPage()->CallBackEventTarget->ID, $allowedButtons) || $forceReload) {\r
                                $params = $this->getUrlParams('clients', $this->getPage()->ClientWindow->ID);\r
                                $clients = $this->Application->getModule('api')->get($params);\r
-                               $isDetailView = $this->Session['view' . $this->getPage()->ClientWindow->ID] == 'details';\r
+                               $isDetailView = $_SESSION['view' . $this->getPage()->ClientWindow->ID] == 'details';\r
                                $clientsList = $this->Application->getModule('misc')->objectToArray($clients->output);\r
                                $this->RepeaterShow->Visible = !$isDetailView;\r
                                $this->Repeater->DataSource = $isDetailView === false ? $clientsList : array();\r