Fixed error, confused stickies with locks
This commit is contained in:
@@ -228,7 +228,7 @@
|
|||||||
|
|
||||||
// Lock
|
// Lock
|
||||||
if($this->mod['type'] >= MOD_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>';
|
$built .= ' <a title="Lock thread" href="?/b/unlock/' . $this->id . '">' . MOD_LINK_UNLOCK . '</a>';
|
||||||
else
|
else
|
||||||
$built .= ' <a title="Unlock thread" href="?/b/lock/' . $this->id . '">' . MOD_LINK_LOCK . '</a>';
|
$built .= ' <a title="Unlock thread" href="?/b/lock/' . $this->id . '">' . MOD_LINK_LOCK . '</a>';
|
||||||
|
Reference in New Issue
Block a user