git.cweiske.de
/
stouyapi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ignore case when sorting games by name
[stouyapi.git]
/
bin
/
import-game-data.php
diff --git
a/bin/import-game-data.php
b/bin/import-game-data.php
index 5486ef5d13d2806251ecab4d8ee0d4f5c60d8f75..e5d62e9b9ae10991d6c1f6f00f7db2aecff98e86 100755
(executable)
--- a/
bin/import-game-data.php
+++ b/
bin/import-game-data.php
@@
-215,7
+215,7
@@
function buildDiscoverCategory($name, $games)
usort(
$games,
function ($gameA, $gameB) {
- return strcmp($gameA->title, $gameB->title);
+ return strc
asec
mp($gameA->title, $gameB->title);
}
);
$chunks = array_chunk($games, 4);