mirror of https://github.com/bbj-dev/bbjphp.git
Fix indentation
This commit is contained in:
parent
1b50c7290c
commit
1e4ebeddd4
|
@ -3,7 +3,7 @@
|
|||
// If they share a pinned/unpinned status, later post comes to the top.
|
||||
// Otherwise, force pinned post to the top.
|
||||
function pinned_sort($thread_a,$thread_b) {
|
||||
if ($thread_a["pinned"]==$thread_b["pinned"]) {
|
||||
if ($thread_a["pinned"] == $thread_b["pinned"]) {
|
||||
return (($thread_a["created"]>$thread_b["created"])? -1 : 1);
|
||||
}
|
||||
if ($thread_a["pinned"]) {
|
||||
|
|
Loading…
Reference in New Issue