From f4038a2160d55a7f519a3b42be1aa96e29e9a908 Mon Sep 17 00:00:00 2001 From: ftimme <ft@falkotimme.com> Date: Wed, 27 Feb 2013 09:01:40 -0500 Subject: [PATCH] - Fixed "FUNCTION databasename.CONCAT does not exist" error for older MySQL versions. --- 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