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

Fix dello stile del codice

This commit is contained in:
Thomas Zilio 2018-04-02 08:38:03 +02:00
parent 194b7677a1
commit d98d1b18af

View File

@ -238,7 +238,7 @@ if (filter('op') == 'link_file' || filter('op') == 'unlink_file') {
// Allegati del record // Allegati del record
$selected = []; $selected = [];
if (!empty($post['attachments'])) { 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) { foreach ($selected as $attachment) {