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:
76853ca
)
Support game files without thumbnails
author
Christian Weiske
<cweiske@cweiske.de>
Sun, 10 May 2020 18:22:03 +0000
(20:22 +0200)
committer
Christian Weiske
<cweiske@cweiske.de>
Sun, 10 May 2020 18:22:03 +0000
(20:22 +0200)
bin/import-game-data.php
patch
|
blob
|
history
diff --git
a/bin/import-game-data.php
b/bin/import-game-data.php
index 283c06b60e1e081762a8d8d56086fc5e709913b2..14996c4635a71e5ebb27f6544722f1db404d3c68 100755
(executable)
--- a/
bin/import-game-data.php
+++ b/
bin/import-game-data.php
@@
-419,7
+419,7
@@
function buildDetails($game)
$mediaTiles[] = [
'type' => 'image',
'urls' => [
- 'thumbnail' => $medium->thumb,
+ 'thumbnail' => $medium->thumb
?? $medium->url
,
'full' => $medium->url,
],
];