mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-24 08:53:37 +01:00
fix PHP 8.0 TypeError: Unsupported operand types: string * float
This commit is contained in:
parent
838f42e87f
commit
0505539e04
@ -62,7 +62,7 @@ class timesheet_datasource extends datasource
|
||||
'pl_id' => $data['pl_id'],
|
||||
'pe_unitprice' => $data['ts_unitprice'],
|
||||
'pe_used_quantity' => $data['ts_quantity'],
|
||||
'pe_used_budget' => $data['ts_quantity'] * (float)$data['ts_unitprice'],
|
||||
'pe_used_budget' => (float)$data['ts_quantity'] * (float)$data['ts_unitprice'],
|
||||
'pe_completion' => 100,
|
||||
'cat_id' => $data['cat_id'],
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user