[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [17042] rental: typecasting
From: |
sigurdne |
Subject: |
[Fmsystem-commits] [17042] rental: typecasting |
Date: |
Fri, 8 Sep 2017 05:03:34 -0400 (EDT) |
Revision: 17042
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=17042
Author: sigurdne
Date: 2017-09-08 05:03:33 -0400 (Fri, 08 Sep 2017)
Log Message:
-----------
rental: typecasting
Modified Paths:
--------------
trunk/rental/inc/model/class.price_item.inc.php
Modified: trunk/rental/inc/model/class.price_item.inc.php
===================================================================
--- trunk/rental/inc/model/class.price_item.inc.php 2017-09-08 07:44:46 UTC
(rev 17041)
+++ trunk/rental/inc/model/class.price_item.inc.php 2017-09-08 09:03:33 UTC
(rev 17042)
@@ -131,7 +131,7 @@
public function set_price( $price )
{
- $this->price = $price;
+ $this->price = (float)$price;
}
/**
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [17042] rental: typecasting,
sigurdne <=