summaryrefslogtreecommitdiff
path: root/includes/model
diff options
context:
space:
mode:
authorcflip <36554078+cflip@users.noreply.github.com>2021-08-10 16:42:07 -0600
committercflip <36554078+cflip@users.noreply.github.com>2021-08-10 16:42:07 -0600
commit39f4d2134f332d3d6577f8cf5b3f4b9d4f665c41 (patch)
tree6521fed114e0227683291d17c7c7d8a14d1040a7 /includes/model
parent5d703ab4ea6e8ead889232ba846596b948bdb051 (diff)
Change URLs to relative paths
Diffstat (limited to 'includes/model')
-rwxr-xr-xincludes/model/Post.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/model/Post.php b/includes/model/Post.php
index f251773..7e02793 100755
--- a/includes/model/Post.php
+++ b/includes/model/Post.php
@@ -17,7 +17,7 @@ function create_quote(int $id): string
return '<blockquote><span style="color:red;">This post has been deleted</span></blockquote>';
}
- return '<blockquote><a href="/viewthread.php?id=' . $reply['post_thread'] . '#p' . $id . '">Quote from ' . $reply['user_name'] . '</a><br>' . $reply['post_content'] . '</blockquote>';
+ return '<blockquote><a href="viewthread.php?id=' . $reply['post_thread'] . '#p' . $id . '">Quote from ' . $reply['user_name'] . '</a><br>' . $reply['post_content'] . '</blockquote>';
}
function format_post_content(string $post_content)