fusionpbx/app/fax
Luis Daniel Lucio Quiroz 0c28221ae2
Fix adding Faxes (#6614)
$fax_email_outbound_authorized_senders is only filled when fax_extension_advanced permission is set. However, the edit part doesn't verify that sizeof(NULL) creates a fatal error.

Fatal error: Uncaught TypeError: sizeof(): Argument #1 ($value) must be of type Countable|array, null given in /var/www/fusionpbx/app/fax/fax_edit.php:286 Stack trace: #0 {main} thrown in /var/www/fusionpbx/app/fax/fax_edit.php on line 286

This patch verifies that $fax_email_outbound_authorized_senders is an array before sizeof() evaluates it. You can now add faxes with the fax_extension_advanced disabled.
2023-04-24 21:06:58 -06:00
..
resources Change the fax dialplan order 2023-04-24 11:58:52 -06:00
app_config.php Fax Server - List: Add Show All, fix search. 2023-02-15 19:33:11 +00:00
app_defaults.php [fax] fix new templates not being enabled (#6290) 2022-02-07 13:15:13 -07:00
app_languages.php Disable fax sending when domain is disabled (#6606) 2023-04-10 09:31:16 -06:00
app_menu.php Add en-gb fusionpbx language (#5192) 2020-03-20 14:47:13 -06:00
fax.php Fax Server - List: Better parameter string. 2023-02-15 19:46:54 +00:00
fax_active.php Replace root.php 2022-10-10 16:35:14 -06:00
fax_active_exec.php Replace root.php 2022-10-10 16:35:14 -06:00
fax_active_inc.php Replace root.php 2022-10-10 16:35:14 -06:00
fax_copy.php Replace root.php 2022-10-10 16:35:14 -06:00
fax_edit.php Fix adding Faxes (#6614) 2023-04-24 21:06:58 -06:00
fax_emails.php Replace root.php 2022-10-10 16:35:14 -06:00
fax_files.php malformed sql messed up fax server columns (#6535) 2023-01-11 15:04:34 -07:00
fax_files_remote.php Replace root.php 2022-10-10 16:35:14 -06:00
fax_log_view.php Replace root.php 2022-10-10 16:35:14 -06:00
fax_logs.php Replace root.php 2022-10-10 16:35:14 -06:00
fax_outbox.php Replace root.php 2022-10-10 16:35:14 -06:00
fax_send.php Disable fax sending when domain is disabled (#6606) 2023-04-10 09:31:16 -06:00