Skip to content
Permalink
Browse files Browse the repository at this point in the history
Force the fax_page_size to only preset allowed values.
  • Loading branch information
markjcrane committed Nov 3, 2021
1 parent 2d2869c commit 0377b21
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/fax/fax_send.php
Expand Up @@ -310,9 +310,13 @@ function fax_split_dtmf(&$fax_number, &$fax_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
Expand Down

0 comments on commit 0377b21

Please sign in to comment.