summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
authorSavetheinternet <savetheinternet@n0v4.com>2011-01-03 02:00:03 +1100
committerSavetheinternet <savetheinternet@n0v4.com>2011-01-03 02:00:03 +1100
commit5538d5589dfd04c1a9b8c4c6641e1beb28b7812f (patch)
tree950f1068f0c7ddc1a567e722fce335102516dc9d /inc
parent76cb8b07883471670e63bc2a441439fa93a1438e (diff)
Fixed error, confused stickies with locks
Diffstat (limited to 'inc')
-rw-r--r--inc/display.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/display.php b/inc/display.php
index f6cfafdc..028ca1aa 100644
--- a/inc/display.php
+++ b/inc/display.php
@@ -228,7 +228,7 @@
// Lock
if($this->mod['type'] >= MOD_LOCK)
- if($this->sticky)
+ if($this->locked)
$built .= ' <a title="Lock thread" href="?/b/unlock/' . $this->id . '">' . MOD_LINK_UNLOCK . '</a>';
else
$built .= ' <a title="Unlock thread" href="?/b/lock/' . $this->id . '">' . MOD_LINK_LOCK . '</a>';