From 824429b0749f8a9d1b9684332d5909525987f21d Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Tue, 9 Jul 2019 12:17:54 -0600 Subject: [PATCH] Update sql_query_pdo.php --- app/exec/sql_query_pdo.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/exec/sql_query_pdo.php b/app/exec/sql_query_pdo.php index c70078e042..5f6b2ff2f0 100644 --- a/app/exec/sql_query_pdo.php +++ b/app/exec/sql_query_pdo.php @@ -30,7 +30,7 @@ require_once "resources/check_auth.php"; //check permissions - if (if_group("admin") || if_group("superadmin")) { + if (permission_exists('exec_sql')) { //access granted } else {