From f8bf889e812776edb47a35902339064c6063c71b Mon Sep 17 00:00:00 2001 From: Thomas Zilio Date: Fri, 10 Jan 2020 18:53:09 +0100 Subject: [PATCH] Fix #719 --- templates/ddt/body.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/ddt/body.php b/templates/ddt/body.php index afd0fdba2..0b701304b 100644 --- a/templates/ddt/body.php +++ b/templates/ddt/body.php @@ -66,7 +66,7 @@ foreach ($righe as $riga) { // Aggiunta dei riferimenti ai documenti if (setting('Riferimento dei documenti nelle stampe')) { - $ref = doc_references($r, $record['dir'], ['iddocumento']); + $ref = doc_references($r, $record['dir'], ['idddt']); if (!empty($ref)) { echo '