Skip to content
Snippets Groups Projects
Commit 7a549b1c authored by All3kcis's avatar All3kcis Committed by GitHub
Browse files

Update entrepot.class.php

Add trim on "libelle" in create function of entrepot
parent 3fb80d96
No related branches found
No related tags found
No related merge requests found
......@@ -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 == '')
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment