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

@ -108,7 +108,9 @@ class Entrepot extends CommonObject
function create($user)
{
global $conf;
$this->libelle = trim($this->libelle);
// Si libelle non defini, erreur
if ($this->libelle == '')
{