From 858d995e49cd053651867681274dab73f7032061 Mon Sep 17 00:00:00 2001 From: evarisk-kilyan Date: Wed, 2 Oct 2024 10:34:53 +0200 Subject: [PATCH] #1900 [ControlCard] add: message when no model --- view/control/control_card.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/view/control/control_card.php b/view/control/control_card.php index 19ba3012..1d57ba73 100644 --- a/view/control/control_card.php +++ b/view/control/control_card.php @@ -368,7 +368,7 @@ $filter = 's.type = ' . '"' . $object->element . '" AND s.status = ' . Sheet::STATUS_LOCKED; $filter .= (!empty($filterType) ? ' AND s.element_linked LIKE "%' . $filterType . '%"' : ''); print '' . ($source != 'pwa' ? $langs->trans('Sheet') : img_picto('', $sheet->picto . '_2em', 'class="pictofixedwidth"')) . ''; - print ($source != 'pwa' ? img_picto('', $sheet->picto, 'class="pictofixedwidth"') : '') . $sheet->selectSheetList(GETPOST('fk_sheet') ?: $sheet->id, 'fk_sheet', $filter); + print ($source != 'pwa' ? img_picto('', $sheet->picto, 'class="pictofixedwidth"') : '') . $sheet->selectSheetList(GETPOST('fk_sheet') ?: $sheet->id, 'fk_sheet', $filter, 0); if ($source != 'pwa') { print ''; }