Made user links work

did something.
This commit is contained in:
aftercase 2021-08-18 22:04:52 +01:00
parent 45f9993776
commit cf0075ca2c

View file

@ -8,7 +8,7 @@ require_once('../includes/NonRetardedSSP.class.php');
function transformDataRow($row) {
$titleHtml = '<a href="/' . urlencode($row[0]) . '">' . pp_html_escape($row[1]) . '</a>';
$authorHtml = '<a href="' . urlencode($row[2]) . '">' . pp_html_escape($row[2]) . '</a>';
$authorHtml = '<a href="/user/' . urlencode($row[2]) . '">' . pp_html_escape($row[2]) . '</a>';
$tagsHtml = tagsToHtml($row[3]);
return [