Correction erreur sql due au passage en LC_ALL=fr_FR
This commit is contained in:
parent
74806b2f7c
commit
12360f47d4
@ -26,7 +26,8 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* @since PHP 4.2.0
|
* @since PHP 4.2.0
|
||||||
* @author Rodolphe Quiedeville <rodolphe@quiedeville.org>, Éric Seigne <eric.seigne@ryxeo.com>
|
* @author Rodolphe Quiedeville <rodolphe@quiedeville.org>,
|
||||||
|
* @author Éric Seigne <eric.seigne@ryxeo.com>
|
||||||
* @see http://www.dolibarr.com/
|
* @see http://www.dolibarr.com/
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -311,7 +312,7 @@ class Propal
|
|||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
$sql = "UPDATE ".MAIN_DB_PREFIX."propal set price=$totalht, tva=$totaltva, total=$totalttc, remise=$total_remise WHERE rowid = $this->id";
|
$sql = "UPDATE ".MAIN_DB_PREFIX."propal set price='$this->total_ht', tva='$totaltva', total='$totalttc', remise='$total_remise' WHERE rowid = $this->id";
|
||||||
if ( $this->db->query($sql) )
|
if ( $this->db->query($sql) )
|
||||||
{
|
{
|
||||||
return 1;
|
return 1;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user