Skip to content

Commit 90b4974

Browse files
committed
1 parent 33d4b53 commit 90b4974

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Http/Livewire/UserTable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public function columns(): array
3737
->searchable()
3838
->format(function ($value, $row, Column $column) {
3939
if (!$row->littlelink_name == NULL) {
40-
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>";
40+
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>";
4141
} else {
4242
return 'N/A';
4343
}

0 commit comments

Comments
 (0)