diff --git a/customer_extras.php b/customer_extras.php index 19d4d9c0..9fb89e81 100644 --- a/customer_extras.php +++ b/customer_extras.php @@ -292,8 +292,7 @@ if ($page == 'overview' || $page == 'htpasswds') { // check whether there is a backup-job for this customer try { $backup_list_data = include_once dirname(__FILE__) . '/lib/tablelisting/customer/tablelisting.backups.php'; - $collection = (new \Froxlor\UI\Collection(\Froxlor\Api\Commands\CustomerBackups::class, $userinfo)) - ->withPagination($backup_list_data['backup_list']['columns']); + $collection = (new \Froxlor\UI\Collection(\Froxlor\Api\Commands\CustomerBackups::class, $userinfo)); } catch (Exception $e) { \Froxlor\UI\Response::dynamic_error($e->getMessage()); } diff --git a/lib/tablelisting/customer/tablelisting.ftps.php b/lib/tablelisting/customer/tablelisting.ftps.php index a56e2316..434251c1 100644 --- a/lib/tablelisting/customer/tablelisting.ftps.php +++ b/lib/tablelisting/customer/tablelisting.ftps.php @@ -57,7 +57,7 @@ return [ 'title' => $lng['panel']['edit'], 'href' => [ 'section' => 'ftp', - 'page' => 'ftps', + 'page' => 'accounts', 'action' => 'edit', 'id' => ':id' ], @@ -68,7 +68,7 @@ return [ 'class' => 'btn-danger', 'href' => [ 'section' => 'ftp', - 'page' => 'ftps', + 'page' => 'accounts', 'action' => 'delete', 'id' => ':id' ], diff --git a/templates/Froxlor/user/form-datatable.html.twig b/templates/Froxlor/user/form-datatable.html.twig index 75c7830d..e04ebd2d 100644 --- a/templates/Froxlor/user/form-datatable.html.twig +++ b/templates/Froxlor/user/form-datatable.html.twig @@ -1,7 +1,7 @@ {% extends "Froxlor/user/form.html.twig" %} {% block content %} - {% if tabledata is not empty and tabledata is iterable %} + {% if tabledata.table.tr is not empty and tabledata.table.tr is iterable %}