Skip to content

Commit 6584e73

Browse files
committed
fix: #1051 Relazioni anagrafiche blocca modifica documenti esistenti
1 parent c54bf91 commit 6584e73

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/anagrafiche/ajax/select.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
foreach ($rs as $k => $r) {
8383
$rs[$k] = array_merge($r, [
8484
'text' => $r['descrizione'],
85-
'disabled' => $r['is_bloccata'],
85+
'disabled' => !empty($elements) ? 0 : $r['is_bloccata'],
8686
]);
8787
}
8888

0 commit comments

Comments
 (0)