diff --git a/modules/visa/class/class_modules_tools_Abstract.php b/modules/visa/class/class_modules_tools_Abstract.php index 2a5ded7d8a08cfdf694c6ed701aaa840b04b2e9d..e0aa568b1ba96fd65d5e58391cc2e9e00d3b19cd 100644 --- a/modules/visa/class/class_modules_tools_Abstract.php +++ b/modules/visa/class/class_modules_tools_Abstract.php @@ -948,7 +948,7 @@ abstract class visa_Abstract extends Database } //ATTACHMENTS TYPES LOOP foreach ($_SESSION['attachment_types'] as $attachmentTypeId => $attachmentTypeLabel) { - if($attachmentTypeId <> 'print_folder' || $attachmentTypeId <> 'converted_pdf'){ + if($attachmentTypeId <> 'print_folder' && $attachmentTypeId <> 'converted_pdf'){ $joined_files = $this->getJoinedFiles($coll_id, $table, $id, true, $attachmentTypeId); if (count ($joined_files) > 0){ $str .= '<tr><td><h3>+ '.$attachmentTypeLabel.'</h3></td><td></td><td></td><td></td><td></td></tr>';