Skip to content

Commit

Permalink
Handle user for fulldata
Browse files Browse the repository at this point in the history
  • Loading branch information
zoic21 authored Jun 19, 2024
1 parent 3debe78 commit 7bde32c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/api/jeeApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@
if ($type == 'fullData') {
log::add('api', 'debug', __('Demande API pour les commandes', __FILE__));
header('Content-Type: application/json');
echo json_encode(jeeObject::fullData(), JSON_HEX_TAG | JSON_HEX_APOS | JSON_HEX_QUOT | JSON_HEX_AMP | JSON_UNESCAPED_UNICODE, 1024);
echo json_encode(jeeObject::fullData(null,$_USER_GLOBAL), JSON_HEX_TAG | JSON_HEX_APOS | JSON_HEX_QUOT | JSON_HEX_AMP | JSON_UNESCAPED_UNICODE, 1024);
die();
}
if ($type == 'variable') {
Expand Down

0 comments on commit 7bde32c

Please sign in to comment.