Merge branch 'main' of https://github.com/LinkStackOrg/LinkStack
This commit is contained in:
parent
33d4b53b0b
commit
90b4974d7d
|
@ -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> " . $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> " . $row->littlelink_name . " </a>";
|
||||
} else {
|
||||
return 'N/A';
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue