From a85acca3ea3d3aa64ae0d448464fb29d7bf4b2de Mon Sep 17 00:00:00 2001 From: loviuz Date: Fri, 14 Feb 2020 11:35:15 +0100 Subject: [PATCH] =?UTF-8?q?Rimossa=20obbligatoriet=C3=A0=20categorie=20neg?= =?UTF-8?q?li=20articoli?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/articoli/add.php | 2 +- modules/articoli/edit.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/articoli/add.php b/modules/articoli/add.php index 9461a3134..221192a23 100644 --- a/modules/articoli/add.php +++ b/modules/articoli/add.php @@ -18,7 +18,7 @@ unset($_SESSION['superselect']['id_categoria']);
- {[ "type": "select", "label": "", "name": "categoria", "required": 1, "ajax-source": "categorie", "icon-after": "add|" ]} + {[ "type": "select", "label": "", "name": "categoria", "required": 0, "ajax-source": "categorie", "icon-after": "add|" ]}
diff --git a/modules/articoli/edit.php b/modules/articoli/edit.php index cacd69c3d..5d9386053 100644 --- a/modules/articoli/edit.php +++ b/modules/articoli/edit.php @@ -33,7 +33,7 @@ $_SESSION['superselect']['id_categoria'] = $record['id_categoria'];
- {[ "type": "select", "label": "", "name": "categoria", "required": 1, "value": "$id_categoria$", "ajax-source": "categorie" ]} + {[ "type": "select", "label": "", "name": "categoria", "required": 0, "value": "$id_categoria$", "ajax-source": "categorie" ]}