diff --git a/client/main.php b/client/main.php index 832f7f0..216c810 100644 --- a/client/main.php +++ b/client/main.php @@ -1,10 +1,11 @@ $thread_b["created"])? -1 : 1); + if ($thread_a["pinned"] == $thread_b["pinned"]) { + return (($thread_a["created"]<$thread_b["created"]) ? 1 : -1); } if ($thread_a["pinned"]) { return -1;