mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-11-22 04:53:46 +09:00
Casting datatype for strict MySQL
This commit is contained in:
1 parent
e89c5bea84
commit
2f5fa4e9bc
1 file changed
+1
-1
@@ -160,7 +160,7 @@ class ServiceInvoiceItem implements InjectionAwareInterface
|
||||
$pi->quantity = $this->di['array_get']($data, 'quantity', 1);
|
||||
$pi->unit = $this->di['array_get']($data, 'unit');
|
||||
$pi->charged = $this->di['array_get']($data, 'charged', 0);
|
||||
$pi->price = $this->di['array_get']($data, 'price', 0);
|
||||
$pi->price = (double) $this->di['array_get']($data, 'price', 0);
|
||||
$pi->taxed = $this->di['array_get']($data, 'taxed', false);
|
||||
$pi->created_at = date('Y-m-d H:i:s');
|
||||
$pi->updated_at = date('Y-m-d H:i:s');
|
||||
|
||||
Reference in new issue
Block a user