Update UserTable.php

This commit is contained in:
Julian Prieber 2024-02-05 17:03:46 +01:00
parent e9281674f0
commit debb028a7d
1 changed files with 1 additions and 1 deletions

View File

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