Skip to content

Commit

Permalink
Evarisk#1924 [Dashboard] clean: php8 warning
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-eoxia committed Nov 21, 2024
1 parent bf5ed14 commit 2db391c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion class/actions_digiquali.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ public function printCommonFooter($parameters)

if (!empty($linkableElements)) {
foreach($linkableElements as $linkableElement) {
if ($linkableElement['link_name'] == $object->element) {
if ($object && $linkableElement['link_name'] == $object->element) {
if (strpos($parameters['context'], $linkableElement['hook_name_card']) !== false) {
$picto = img_picto('', 'fontawesome_fa-clipboard-check_fas_#d35968', 'class="pictofixedwidth"');
$extrafieldsNames = ['qc_frequency', 'control_history_link'];
Expand Down

0 comments on commit 2db391c

Please sign in to comment.