forked from leftypol/leftypol
Fixed error, confused stickies with locks
This commit is contained in:
parent
76cb8b0788
commit
5538d5589d
1 changed files with 1 additions and 1 deletions
|
@ -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>';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue