Open
Description
Issue
When editing a call that was created with a 15 minutes duration, duration shows 0 in the edit view
Expected Behavior
The duration should be the same as the original duration
Actual Behavior
Possible Fix
in CallHelper.php
Replace
$html .= get_select_options_with_id($focus->minutes_values, $focus->duration_minutes);
by
$html .= get_select_options_with_id($focus->minutes_values, (int)$focus->duration_minutes);
Steps to Reproduce
- Create a call with a 15 mn duration
- Save that call
- Edit that call again
- The duration is displayed as 0
Context
Your Environment
- SuiteCRM Version used: 7.12.10
- Browser name and version (e.g. Chrome Version 51.0.2704.63 (64-bit)): any
- Environment name and version (e.g. MySQL, PHP 7): PHP 7.4
- Operating System and version (e.g Ubuntu 16.04):