Skip to content

Commit

Permalink
Fix licence items tab
Browse files Browse the repository at this point in the history
fixes #18356
  • Loading branch information
cedric-anne authored and trasher committed Nov 20, 2024
1 parent 60b78b8 commit 90a84f5
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions src/Item_SoftwareLicense.php
Original file line number Diff line number Diff line change
Expand Up @@ -865,12 +865,16 @@ function updateItemDropdown(itemtype_el) {
echo "<td>" . htmlescape($data['location']) . "</td>";
echo "<td>" . htmlescape($data['state']) . "</td>";
echo "<td>" . htmlescape($data['groupe']) . "</td>";
echo "<td>" . formatUserLink(
$data['userid'],
$data['username'],
$data['userrealname'],
$data['userfirstname'],
) . "</td>";
if ($data['userid'] !== null) {
echo "<td>" . formatUserLink(
$data['userid'],
$data['username'],
$data['userrealname'],
$data['userfirstname'],
) . "</td>";
} else {
echo "<td></td>";
}
echo "</tr>\n";

$iterator->next();
Expand Down

0 comments on commit 90a84f5

Please sign in to comment.