🎨 Prend en compte l'encodage pour JSON
This commit is contained in:
parent
c078fc1c68
commit
c0c02459f8
@ -315,7 +315,7 @@ class Deal
|
|||||||
$method = sprintf('get%s', ucfirst($prop->getName()));
|
$method = sprintf('get%s', ucfirst($prop->getName()));
|
||||||
$json[$prop->getName()] = $this->$method();
|
$json[$prop->getName()] = $this->$method();
|
||||||
}
|
}
|
||||||
return \json_encode($json);
|
return \json_encode($json, JSON_UNESCAPED_UNICODE);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user