diff --git a/modules/invoicenew.php b/modules/invoicenew.php index 224cb786e8..8b265251e3 100644 --- a/modules/invoicenew.php +++ b/modules/invoicenew.php @@ -601,7 +601,7 @@ function changeContents($contents, $newcontents) } if ($SYSLOG) { - $tables = array_merge($tables, array('logmessages', 'logmessagekeys', 'logmessagedata', 'logtransactions')); + $tables = array_merge($tables, array('logmessages', 'logmessagekeys', 'logmessagedata', 'logtransactions', 'documentattachments')); } $hook_data = array(