Skip to content

Commit

Permalink
Merge commit from fork
Browse files Browse the repository at this point in the history
  • Loading branch information
stonebuzz authored Sep 12, 2024
1 parent e329392 commit eb927b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/container.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -1163,7 +1163,7 @@ public static function displayTabContentForItem(CommonGLPI $item, $tabnum = 1, $

//retrieve container for current tab
$container = new self();
$found_c = $container->find(['type' => 'tab', 'name' => $tabnum, 'is_active' => 1]);
$found_c = $container->find(['type' => 'tab', 'name' => Sanitizer::sanitize($tabnum), 'is_active' => 1]);
foreach ($found_c as $data) {
$dataitemtypes = json_decode($data['itemtypes']);
if (in_array(get_class($item), $dataitemtypes) != false) {
Expand Down

0 comments on commit eb927b0

Please sign in to comment.