summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>';