Uncaught TypeError: abs(): Argument #1 ($num) must be of type int|float, string given in /var/www/html/boss/interface/main/calendar/add_edit_event.php:348
create and appointment on the calendar.
cast form duration to int.
if (is_int($_POST['form_duration'])) {
$form_duration = (int) $_POST['form_duration'];
} else {
$form_duration = $_POST['form_duration'];
}
$duration = abs($form_duration);
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too