Update entrepot.class.php
Add trim on "libelle" in create function of entrepot
This commit is contained in:
parent
3fb80d9678
commit
7a549b1c32
@ -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 == '')
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user