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