Skip to content

Commit

Permalink
fix immagini in esportazione gdxp
Browse files Browse the repository at this point in the history
  • Loading branch information
madbob committed Jan 20, 2024
1 parent 516a01e commit a967303
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/resources/views/gdxp/json/supplier.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ function serializeTransformations($target, $json_target)
];
if (empty($product->picture) == false) {
$p['attachments'] = [
$p->attachments = [
(object) [
'name' => 'Immagine',
'contents' => base64_encode(file_get_contents(gas_storage_path($product->picture))),
Expand Down

0 comments on commit a967303

Please sign in to comment.