Fix permission_exists fax_file_edit

This commit is contained in:
FusionPBX 2024-09-21 21:13:40 -06:00 committed by GitHub
parent 52a320ec54
commit 72470b5863
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -518,7 +518,7 @@
}
echo "<tr class='list-row' href='".$list_row_url."'>\n";
if (permission_exists('fax_file_delete') || permission_exists['fax_file_edit']) {
if (permission_exists('fax_file_delete') || permission_exists('fax_file_edit')) {
echo " <td class='checkbox'>\n";
echo " <input type='checkbox' name='fax_files[$x][checked]' id='checkbox_".$x."' value='true' onclick=\"if (!this.checked) { document.getElementById('checkbox_all').checked = false; } checkbox_on_change(this);\">\n";
echo " <input type='hidden' name='fax_files[$x][uuid]' value='".escape($row['fax_file_uuid'])."' />\n";