allow plugins to display their permissions

This commit is contained in:
Mitan Omar
2019-05-01 05:20:25 +02:00
committed by GitHub
parent 2f9022aac6
commit cb898f44d4

View File

@@ -699,7 +699,7 @@ case 'group_acl':
}
$acls[] = array(
'acl_title' => $lang['ACLS_' . strtoupper($row['acl_name'])],
'acl_title' => 'acl_title' => !empty( $lang['ACLS_' . strtoupper($row['acl_name'])] ) ? $lang['ACLS_' . strtoupper($row['acl_name'])] : $olang['ACLS_' . strtoupper($row['acl_name'])],
'acl_name' => $row['acl_name'],
'acl_can' => (int) $row['acl_can']
);