Fixed error, confused stickies with locks

This commit is contained in:
Savetheinternet 2011-01-03 02:00:03 +11:00
parent 76cb8b0788
commit 5538d5589d

View File

@ -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>';