Commit 08b0d71f authored by surville's avatar surville
Browse files

[Anomalie] Mauvais appel de fonction

parent 72b11547
......@@ -510,7 +510,7 @@ abstract class AbstractService implements
public function create(string $id, $ou = null)
if(!Entity::checkIdFormat($id)) {
if(!Entity::checkIdFormat($this->type, $id)) {
throw new Exception(sprintf("Le format de l'identifiant '%s' n'est pas correct.", $id));
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment