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

[Anomalie] Mauvais appel de fonction

parent 72b11547
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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));
        }