summaryrefslogtreecommitdiff
path: root/inc/display.php
diff options
context:
space:
mode:
authorMichael Save <savetheinternet@tinyboard.org>2012-09-30 22:56:09 +1000
committerMichael Save <savetheinternet@tinyboard.org>2012-09-30 22:56:09 +1000
commit209f061eed334eda413317d462d0b52a24a0db58 (patch)
treec2bb307d967fd63c2ea58009cc82cc3d52bfbf5f /inc/display.php
parent23653994ac22c059790b8ebfa0315bbb911f0625 (diff)
Bugfix: [sticky]
Diffstat (limited to 'inc/display.php')
-rw-r--r--inc/display.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/display.php b/inc/display.php
index 60c95a1f..264fde60 100644
--- a/inc/display.php
+++ b/inc/display.php
@@ -388,9 +388,9 @@ class Thread {
// Sticky
if (hasPermission($config['mod']['sticky'], $board['uri'], $this->mod))
if ($this->sticky)
- $built .= ' <a title="Make thread not sticky" href="?/' . $board['uri'] . '/unsticky/' . $this->id . '">' . $config['mod']['link_desticky'] . '</a>';
+ $built .= ' <a title="Make thread not sticky" href="?/' . secure_link($board['uri'] . '/unsticky/' . $this->id) . '">' . $config['mod']['link_desticky'] . '</a>';
else
- $built .= ' <a title="Make thread sticky" href="?/' . $board['uri'] . '/sticky/' . $this->id . '">' . $config['mod']['link_sticky'] . '</a>';
+ $built .= ' <a title="Make thread sticky" href="?/' . secure_link($board['uri'] . '/sticky/' . $this->id) . '">' . $config['mod']['link_sticky'] . '</a>';
if (hasPermission($config['mod']['bumplock'], $board['uri'], $this->mod))
if ($this->bumplocked)