1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2024-12-22 21:28:08 +01:00

fix allegati multipli email

This commit is contained in:
lepool 2018-04-01 22:31:47 +02:00 committed by Thomas Zilio
parent 4ead4be8d7
commit 194b7677a1
2 changed files with 2 additions and 2 deletions

View File

@ -238,7 +238,7 @@ if (filter('op') == 'link_file' || filter('op') == 'unlink_file') {
// Allegati del record
$selected = [];
if (!empty($post['attachments'])) {
$selected = $dbo->fetchArray('SELECT * FROM zz_files WHERE id IN ('.implode($post['attachments']).') AND id_module = '.prepare($id_module).' AND id_record = '.prepare($id_record));
$selected = $dbo->fetchArray('SELECT * FROM zz_files WHERE id IN ('.implode( "," , $post['attachments']).') AND id_module = '.prepare($id_module).' AND id_record = '.prepare($id_record));
}
foreach ($selected as $attachment) {

View File

@ -260,7 +260,7 @@ class Prints
}
// Individuazione delle variabili per la sostituzione
include_once DOCROOT.'/templates/info.php';
include DOCROOT.'/templates/info.php';
// Generazione dei contenuti della stampa
ob_start();