Browse Source

Update sql_query_pdo.php

FusionPBX 6 years ago
parent
commit
a0d707b422
1 changed files with 1 additions and 1 deletions
  1. 1 1
      sql_query_pdo.php

+ 1 - 1
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 {