Empeche le libelle vide
This commit is contained in:
parent
9752c7ae7c
commit
8f065394cf
@ -117,6 +117,9 @@ class Account
|
|||||||
|
|
||||||
Function update()
|
Function update()
|
||||||
{
|
{
|
||||||
|
if (strlen($this->label)==0)
|
||||||
|
$this->label = "???";
|
||||||
|
|
||||||
$sql = "UPDATE llx_bank_account SET ";
|
$sql = "UPDATE llx_bank_account SET ";
|
||||||
|
|
||||||
$sql .= " bank = '" .$this->bank ."'";
|
$sql .= " bank = '" .$this->bank ."'";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user