This commit is contained in:
Julian Prieber 2024-01-02 17:48:33 +01:00
parent 33d4b53b0b
commit 90b4974d7d
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ class UserTable extends DataTableComponent
->searchable()
->format(function ($value, $row, Column $column) {
if (!$row->littlelink_name == NULL) {
return "<a href='" . url('') . "/@" . $row->littlelink_name . "' target='_blank' class='text-info'><i class='bi bi-box-arrow-up-right'></i>&nbsp; " . $row->littlelink_name . " </a>";
return "<a href='" . url('') . "/@" . htmlspecialchars($row->littlelink_name) . "' target='_blank' class='text-info'><i class='bi bi-box-arrow-up-right'></i>&nbsp; " . $row->littlelink_name . " </a>";
} else {
return 'N/A';
}