diff --git a/view/control/control_card.php b/view/control/control_card.php index 7e2b115e..874d4305 100644 --- a/view/control/control_card.php +++ b/view/control/control_card.php @@ -732,7 +732,7 @@ $pathPhotos = $conf->digiquali->multidir_output[$conf->entity] . '/control/'. $object->ref . '/photos/'; $fileArray = dol_dir_list($pathPhotos, 'files'); ?> - status != Control::STATUS_LOCKED) ? '' : 'style="display:none"' ?>> + status < Control::STATUS_LOCKED) ? '' : 'style="display:none"' ?>>