mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Update adherent_type.class.php
This commit is contained in:
parent
e29df476e6
commit
abcfbca77f
|
|
@ -385,7 +385,7 @@ class AdherentType extends CommonObject
|
|||
$sql .= "morphy = '".$this->db->escape($this->morphy)."',";
|
||||
$sql .= "subscription = '".$this->db->escape($this->subscription)."',";
|
||||
$sql .= "amount = ".((empty($this->amount) && $this->amount == '') ? 'null' : ((float) $this->amount)).",";
|
||||
$sql .= "caneditamount = '".$this->db->escape($this->caneditamount)."',";
|
||||
$sql .= "caneditamount = ".((int) $this->db->escape($this->caneditamount)).",";
|
||||
$sql .= "duration = '".$this->db->escape($this->duration_value.$this->duration_unit)."',";
|
||||
$sql .= "note = '".$this->db->escape($this->note_public)."',";
|
||||
$sql .= "vote = ".(integer) $this->db->escape($this->vote).",";
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user