Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Cédric Anne <cedric.anne@gmail.com>
  • Loading branch information
Pierstoval and cedric-anne authored Sep 16, 2024
1 parent 4e1f56a commit 75cc040
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Glpi/Dashboard/Widget.php
Original file line number Diff line number Diff line change
Expand Up @@ -1657,7 +1657,7 @@ public static function searchShowList(array $params = []): string
];
$p = array_merge($default, $params);

$p['label'] = $p['label'] ?? \htmlspecialchars($p['label']);
$p['label'] = \htmlspecialchars($p['label'] ?? '');

$id = "search-table-" . $p['rand'];

Expand Down

0 comments on commit 75cc040

Please sign in to comment.