From 490baf50f4f1567f076501d4364c539c091ed708 Mon Sep 17 00:00:00 2001 From: Michael RICOIS Date: Thu, 8 Mar 2018 14:57:54 +0100 Subject: [PATCH] Clean --- modules/labelgenerate/AdminLabelGenerate.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/labelgenerate/AdminLabelGenerate.php b/modules/labelgenerate/AdminLabelGenerate.php index 671cae14..78c95c8d 100644 --- a/modules/labelgenerate/AdminLabelGenerate.php +++ b/modules/labelgenerate/AdminLabelGenerate.php @@ -530,7 +530,7 @@ class AdminLabelGenerate extends AdminTab } } } - exit; + if (file_exists(_PS_MODULE_DIR_.'labelgenerate/img/'.$barcode->id_sale.'/identification.pdf')) { unlink(_PS_MODULE_DIR_.'labelgenerate/img/'.$barcode->id_sale.'/identification.pdf'); }