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

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";