mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
fix PHP 8.0 TypeError: Unsupported operand types: string * float
This commit is contained in:
parent
bbc7fb93de
commit
382c39e817
@ -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