From 41327d3dbf594f67467e852baa632b2147fe7d58 Mon Sep 17 00:00:00 2001 From: Thomas Zilio Date: Fri, 14 Feb 2020 11:20:09 +0100 Subject: [PATCH] Fix minore --- plugins/receiptFE/src/Interaction.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/receiptFE/src/Interaction.php b/plugins/receiptFE/src/Interaction.php index 51c05ddb4..fbc32fa60 100644 --- a/plugins/receiptFE/src/Interaction.php +++ b/plugins/receiptFE/src/Interaction.php @@ -84,7 +84,9 @@ class Interaction extends Services ]); $body = static::responseBody($response); - Ricevuta::store($name, $body['content']); + if (!empty($body['content'])) { + Ricevuta::store($name, $body['content']); + } } return $name;