Skip to content

Commit

Permalink
Order tweak.
Browse files Browse the repository at this point in the history
  • Loading branch information
kohler committed Nov 14, 2023
1 parent 6ee7b57 commit e09cd04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/paperlist.php
Original file line number Diff line number Diff line change
Expand Up @@ -1378,7 +1378,7 @@ function user_text($uid) {
* @param int $ianno */
function user_compare($uid1, $uid2, $ianno) {
if ($uid1 <= 0 || $uid2 <= 0) {
return ($uid1 > 0) <=> ($uid2 > 0);
return ($uid2 > 0) <=> ($uid1 > 0);
}
$u1 = $this->conf->user_by_id($uid1, USER_SLICE);
$u2 = $this->conf->user_by_id($uid2, USER_SLICE);
Expand Down

0 comments on commit e09cd04

Please sign in to comment.