mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 23:43:17 +01:00
fix PHP Warning: A non-numeric value encountered in line 77
caused be not set (NULL) unitprice
This commit is contained in:
parent
1f2770639c
commit
df649f1acc
@ -74,7 +74,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'] * $data['ts_unitprice'],
|
||||
'pe_used_budget' => $data['ts_quantity'] * (float)$data['ts_unitprice'],
|
||||
'pe_completion' => 100,
|
||||
'cat_id' => $data['cat_id'],
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user