From 3596a298b12c8a58673396408ab537b86938553e Mon Sep 17 00:00:00 2001
From: loviuz <1647128+loviuz@users.noreply.github.com>
Date: Wed, 30 May 2018 12:09:08 +0200
Subject: [PATCH] Rimosse le stampe non abilitate dall'invio mail
---
mail.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mail.php b/mail.php
index f3a73ac3e..f4cce66c2 100644
--- a/mail.php
+++ b/mail.php
@@ -88,7 +88,7 @@ echo '
- {[ "type": "select", "multiple": "1", "label": "'.tr('Stampe').'", "name": "prints[]", "value": "'.implode(',', $selected).'", "values": "query=SELECT id, title AS text FROM zz_prints WHERE id_module = '.prepare($id_module).'" ]}
+ {[ "type": "select", "multiple": "1", "label": "'.tr('Stampe').'", "name": "prints[]", "value": "'.implode(',', $selected).'", "values": "query=SELECT id, title AS text FROM zz_prints WHERE id_module = '.prepare($id_module).' AND enabled=1" ]}
';
// Allegati