Force the fax_page_size to only preset allowed values.

This commit is contained in:
FusionPBX
2021-11-03 09:38:01 -06:00
committed by GitHub
parent 2d2869c1a1
commit 0377b2152c

View File

@@ -310,9 +310,13 @@ if (!function_exists('fax_split_dtmf')) {
$page_height = 14; //in
break;
case 'letter' :
$page_width = 8.5; //in
$page_height = 11; //in
break;
default :
$page_width = 8.5; //in
$page_height = 11; //in
$fax_page_size = 'letter';
}
//set resolution