Browse Source

php - ignore case on sort for Acclaim

master
kanoi 10 years ago
parent
commit
2f17880dd1
  1. 2
      pool/page_userinfo.php

2
pool/page_userinfo.php

@ -9,7 +9,7 @@ function blocksorder($a, $b)
if ($b['diffacc'] != $a['diffacc']) if ($b['diffacc'] != $a['diffacc'])
return $a['diffacc'] - $b['diffacc']; return $a['diffacc'] - $b['diffacc'];
else else
return strcmp($a['username'], $b['username']); return strcasecmp($a['username'], $b['username']);
} }
} }
# #

Loading…
Cancel
Save