Update entrepot.class.php

Add trim on "libelle" in create function of entrepot
This commit is contained in:
All3kcis 2016-07-20 16:57:26 +02:00 committed by GitHub
parent 3fb80d9678
commit 7a549b1c32

View File

@ -109,6 +109,8 @@ class Entrepot extends CommonObject
{ {
global $conf; global $conf;
$this->libelle = trim($this->libelle);
// Si libelle non defini, erreur // Si libelle non defini, erreur
if ($this->libelle == '') if ($this->libelle == '')
{ {