Skip to content

Node.js based forum software built for the modern web

fixed hardcoded userslug

Baris Usakli8d3a647d16cd
diff --git a/public/templates/favourites.tpl b/public/templates/favourites.tpl
index 4bd4c442c7..cfc11a5252 100644
--- a/public/templates/favourites.tpl
+++ b/public/templates/favourites.tpl
@@ -14,7 +14,7 @@
<div class="col-md-12 user-favourite-posts">
<!-- BEGIN posts -->
<div class="topic-row img-thumbnail clearfix">
- <a href="/user/baris">
+ <a href="../../user/{posts.userslug}">
<img title="{posts.username}" class="img-rounded user-img" src="{posts.picture}">
</a>