summaryrefslogtreecommitdiff
path: root/src/emotes/single_page.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/emotes/single_page.php')
-rw-r--r--src/emotes/single_page.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emotes/single_page.php b/src/emotes/single_page.php
index 92b4e24..d1fc4e8 100644
--- a/src/emotes/single_page.php
+++ b/src/emotes/single_page.php
@@ -108,7 +108,7 @@ include_once "../../src/config.php";
if ($row = $stmt->fetch()) {
$username = $row["username"];
- $link = "/users/" . $emote->get_uploaded_by();
+ $link = "/users.php?id=" . $emote->get_uploaded_by();
}
$db = null;
@@ -154,7 +154,7 @@ include_once "../../src/config.php";
<div class="items row">
<?php
while ($row = $stmt->fetch()) {
- echo '<a href="/users/' . $row["id"] . '">' . $row["username"] . '</a>';
+ echo '<a href="/users.php?id=' . $row["id"] . '">' . $row["username"] . '</a>';
}
?>
</div>