From 7990f8881b085279269d35cf9dd2787b88ae1c08 Mon Sep 17 00:00:00 2001 From: mcramer <m.cramer@pixcept.de> Date: Tue, 27 Nov 2012 14:47:43 -0500 Subject: [PATCH] Bugfix: _ispconfig_pw_crypted was ignored (stripped off in encoding method) --- interface/web/vm/openvz_ip_list.php | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/interface/web/vm/openvz_ip_list.php b/interface/web/vm/openvz_ip_list.php index 7f67cec..8892efc 100644 --- a/interface/web/vm/openvz_ip_list.php +++ b/interface/web/vm/openvz_ip_list.php @@ -43,11 +43,12 @@ //* Check permissions for module $app->auth->check_module_permissions('vm'); +if($_SESSION["s"]["user"]["typ"] != 'admin') die('permission denied'); $app->uses('listform_actions'); -// $app->listform_actions->SQLOrderBy = 'ORDER BY company_name, contact_name, client_id'; // $app->listform_actions->SQLExtWhere = "limit_client = 0"; +$app->listform_actions->SQLOrderBy = 'ORDER BY server_id,ip_address'; $app->listform_actions->onLoad(); -- Gitblit v1.9.1