Fixed error, confused stickies with locks
This commit is contained in:
parent
76cb8b0788
commit
5538d5589d
@ -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>';
|
||||||
|
Loading…
Reference in New Issue
Block a user