Fix numbering was disaplying technical error instead of error message

This commit is contained in:
Maxime Kohlhaas
2017-01-27 10:05:57 +01:00
parent fd55ded996
commit 7b6488b1c7
3 changed files with 5 additions and 2 deletions

View File

@@ -239,7 +239,8 @@ class Commande extends CommonOrder
}
else
{
dol_print_error($this->db,get_class($this)."::getNextNumRef ".$obj->error);
$this->error=$obj->error;
//dol_print_error($this->db,get_class($this)."::getNextNumRef ".$obj->error);
return "";
}
}