Skip to content
Snippets Groups Projects
Commit 08b0d71f authored by surville's avatar surville
Browse files

[Anomalie] Mauvais appel de fonction

parent 72b11547
No related branches found
No related tags found
No related merge requests found
......@@ -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));
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment