From 2ecf10376de5b19e4060d0f4cb4a87e6bfa00021 Mon Sep 17 00:00:00 2001 From: Thomas Zilio Date: Fri, 22 Sep 2017 11:23:59 +0200 Subject: [PATCH] Fix per il campo deleted sugli account email --- modules/smtp/edit.php | 2 +- update/2_3_1.sql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/smtp/edit.php b/modules/smtp/edit.php index 152d0dfd4..195e12d83 100644 --- a/modules/smtp/edit.php +++ b/modules/smtp/edit.php @@ -25,7 +25,7 @@ include_once __DIR__.'/../../core.php';
- {[ "type": "checkbox", "label": "", "name": "pec", "value": "$pec$", "placeholder": "PEC" ]} + {[ "type": "checkbox", "label": "", "name": "pec", "value": "$pec$", "placeholder": "PEC" ]}
diff --git a/update/2_3_1.sql b/update/2_3_1.sql index d48096b78..0957e826e 100644 --- a/update/2_3_1.sql +++ b/update/2_3_1.sql @@ -86,7 +86,7 @@ CREATE TABLE IF NOT EXISTS `zz_smtp` ( PRIMARY KEY (`id`) ) ENGINE=InnoDB; -INSERT INTO `zz_modules` (`id`, `name`, `title`, `directory`, `options`, `icon`, `version`, `compatibility`, `order`, `parent`, `default`, `enabled`) VALUES (NULL, 'Account email', 'Account email', 'smtp', 'SELECT |select| FROM zz_smtp WHERE 1=1 HAVING 2=2 ORDER BY `name`', 'fa fa-envelope', '2.3', '2.3', '10', NULL, 1, 1); +INSERT INTO `zz_modules` (`id`, `name`, `title`, `directory`, `options`, `icon`, `version`, `compatibility`, `order`, `parent`, `default`, `enabled`) VALUES (NULL, 'Account email', 'Account email', 'smtp', 'SELECT |select| FROM zz_smtp WHERE 1=1 AND deleted = 0 HAVING 2=2 ORDER BY `name`', 'fa fa-envelope', '2.3', '2.3', '10', NULL, 1, 1); INSERT INTO `zz_views` (`id_module`, `name`, `query`, `order`, `search`, `slow`, `enabled`, `default`) VALUES ((SELECT `id` FROM `zz_modules` WHERE `name` = 'Account email'), 'id', 'id', 1, 1, 0, 0, 1),