From 496809a2d20c3872f18022148d6b1f657decc6be Mon Sep 17 00:00:00 2001 From: Thomas Zilio Date: Tue, 29 Oct 2019 16:56:35 +0100 Subject: [PATCH] Fix disabilitazione campi per Anagrafiche --- editor.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/editor.php b/editor.php index 5943f9ae2..5eacb4d57 100755 --- a/editor.php +++ b/editor.php @@ -4,6 +4,9 @@ include_once __DIR__.'/core.php'; use Carbon\Carbon; +// Disabilitazione dei campi +$read_only = $structure->permission == 'r'; + if (empty($id_record) && !empty($id_module) && empty($id_plugin)) { redirect(ROOTDIR.'/controller.php?id_module='.$id_module); } elseif (empty($id_record) && empty($id_module) && empty($id_plugin)) { @@ -429,7 +432,6 @@ echo '