mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Require the fax extension to be numeric.
This commit is contained in:
@@ -255,6 +255,9 @@
|
||||
return;
|
||||
}
|
||||
|
||||
//sanitize the fax extension number
|
||||
$fax_extension = preg_replace('#[^0-9]#', '', $fax_extension);
|
||||
|
||||
//replace the spaces with a dash
|
||||
$fax_name = str_replace(" ", "-", $fax_name);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user