From a9673038025171dc30b382bc97789e56a3d69436 Mon Sep 17 00:00:00 2001 From: Roberto Guido Date: Sat, 20 Jan 2024 21:41:27 +0100 Subject: [PATCH] fix immagini in esportazione gdxp --- code/resources/views/gdxp/json/supplier.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/resources/views/gdxp/json/supplier.blade.php b/code/resources/views/gdxp/json/supplier.blade.php index 6d343b33..912941a6 100644 --- a/code/resources/views/gdxp/json/supplier.blade.php +++ b/code/resources/views/gdxp/json/supplier.blade.php @@ -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))),