mirror of
https://github.com/Neetpone/ponepaste.git
synced 2025-03-12 14:40:09 +01:00
Made user links work
did something.
This commit is contained in:
parent
45f9993776
commit
cf0075ca2c
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ require_once('../includes/NonRetardedSSP.class.php');
|
||||||
|
|
||||||
function transformDataRow($row) {
|
function transformDataRow($row) {
|
||||||
$titleHtml = '<a href="/' . urlencode($row[0]) . '">' . pp_html_escape($row[1]) . '</a>';
|
$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]);
|
$tagsHtml = tagsToHtml($row[3]);
|
||||||
|
|
||||||
return [
|
return [
|
||||||
|
|
Loading…
Add table
Reference in a new issue