mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
if_group caused no conferences to show when user not in the admin group (#6942)
* if_group caused no conferences to show when user not in the admin group * if_group replaced to be conference_room_edit
This commit is contained in:
@@ -100,7 +100,7 @@
|
||||
}
|
||||
|
||||
//prepare to page the results
|
||||
if (if_group("superadmin") || if_group("admin")) {
|
||||
if (permission_exists('conference_view')) {
|
||||
//show all extensions
|
||||
$sql = "select count(*) from v_conferences ";
|
||||
$sql .= "where true ";
|
||||
|
||||
Reference in New Issue
Block a user