Files
fusionpbx/app
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
..
2022-10-10 16:35:14 -06:00
2023-03-28 10:24:11 -06:00
2022-10-10 16:35:14 -06:00
2022-10-10 16:35:14 -06:00
2023-04-18 15:39:46 -06:00
2022-10-10 16:35:14 -06:00
2023-03-28 10:24:11 -06:00
2023-03-28 10:24:11 -06:00
2023-04-24 21:06:58 -06:00
2023-03-28 10:24:11 -06:00
2022-10-10 16:35:14 -06:00
2022-10-10 16:35:14 -06:00
2022-10-10 16:35:14 -06:00
2023-02-17 14:21:41 -07:00
2023-02-17 14:21:41 -07:00
2022-10-10 16:35:14 -06:00
2023-04-21 12:32:16 -06:00
2023-03-28 10:24:11 -06:00
2022-10-10 16:35:14 -06:00
2022-10-10 16:35:14 -06:00
2023-02-17 14:21:41 -07:00
2023-02-15 09:51:36 -07:00
2023-03-24 20:07:16 -06:00