git.cweiske.de
/
stouyapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad9f3cf
)
Fix ? in category URLs
author
Christian Weiske
<cweiske@cweiske.de>
Wed, 15 Jan 2020 19:39:32 +0000
(20:39 +0100)
committer
Christian Weiske
<cweiske@cweiske.de>
Wed, 15 Jan 2020 19:39:32 +0000
(20:39 +0100)
bin/import-game-data.php
patch
|
blob
|
history
diff --git
a/bin/import-game-data.php
b/bin/import-game-data.php
index 0dc492682446f4d08549b2da95d20a32a9f19f7c..29d41726b27ffec60b333c1e8493a84d13a50993 100755
(executable)
--- a/
bin/import-game-data.php
+++ b/
bin/import-game-data.php
@@
-648,7
+648,7
@@
function buildDiscoverGameTile($game)
function categoryPath($title)
{
- return str_replace(['/', '\\', ' ', '+'], '_', $title);
+ return str_replace(['/', '\\', ' ', '+'
, '?'
], '_', $title);
}
function getAllAges($games)