From 8f065394cf294bc6b9c0bb2c29b0528d47be203e Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Tue, 2 Sep 2003 18:53:33 +0000 Subject: [PATCH] Empeche le libelle vide --- htdocs/compta/bank/account.class.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/htdocs/compta/bank/account.class.php b/htdocs/compta/bank/account.class.php index e91d8e3ccf8..505ec03ebf0 100644 --- a/htdocs/compta/bank/account.class.php +++ b/htdocs/compta/bank/account.class.php @@ -117,6 +117,9 @@ class Account Function update() { + if (strlen($this->label)==0) + $this->label = "???"; + $sql = "UPDATE llx_bank_account SET "; $sql .= " bank = '" .$this->bank ."'";