From 760b9bdd940ffa5b3ed2735b8378ba869c2f53da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaime=20Jim=C3=A9nez?= Date: Wed, 14 May 2025 13:57:33 +0200 Subject: [PATCH] =?UTF-8?q?arreglado=20tambi=C3=A9n=20problema=20de=20sobr?= =?UTF-8?q?ecubierta=20en=20importador=20rama?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ci4/app/Controllers/Importadores/ImportadorCatalogo.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci4/app/Controllers/Importadores/ImportadorCatalogo.php b/ci4/app/Controllers/Importadores/ImportadorCatalogo.php index d3797f3e..23df0636 100644 --- a/ci4/app/Controllers/Importadores/ImportadorCatalogo.php +++ b/ci4/app/Controllers/Importadores/ImportadorCatalogo.php @@ -216,7 +216,7 @@ class ImportadorCatalogo extends BaseResourceController // Sobrecubierta $sobrecubierta = []; - if (!is_null($libro->sobrecubierta_paginas)) { + if (!is_null($libro->sobrecubierta_paginas) && $libro->sobrecubierta_paginas != 0) { $sobrecubierta['papel'] = $libro->sobrecubierta_papel_id; $sobrecubierta['gramaje'] = $libro->sobrecubierta_gramaje; $sobrecubierta['solapas'] = $libro->sobrecubierta_solapas;