mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Functions: Update for PHP 8.1
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
|
||||
if (!function_exists('check_float')) {
|
||||
function check_float($string) {
|
||||
$string = str_replace(",",".",$string);
|
||||
$string = str_replace(",",".",$string ?? '');
|
||||
return trim($string);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user