diff --git a/editor.php b/editor.php
index 83a5f007a..7ebd3ee71 100755
--- a/editor.php
+++ b/editor.php
@@ -240,7 +240,7 @@ if (empty($record) || !$has_access) {
Toggle Dropdown
@@ -67,7 +67,7 @@ if (sizeof($rs_doc) > 0) {
for ($i = 0; $i < sizeof($rs_doc); ++$i) {
$rs = $dbo->fetchArray('SELECT `dir` FROM `co_tipidocumento` INNER JOIN `co_documenti` ON `co_tipidocumento`.`id`=`co_documenti`.`idtipodocumento` WHERE `co_documenti`.`id`='.prepare($rs_doc[$i]['iddocumento']));
$id_modulo = ($rs[0]['dir'] == 'entrata') ? Module::where('name', 'Fatture di vendita')->first()->id : Module::where('name', 'Fatture di acquisto')->first()->id; ?>
-
+