Archived
1
0
Fork 0

check IFDB author tag to exist

This commit is contained in:
Alexander Yakovlev 2019-01-24 22:57:05 +07:00
parent 197203d9cc
commit 6ad58558e2
Signed by: oreolek
GPG key ID: 1CDC4B7820C93BD3

View file

@ -40,7 +40,9 @@ class IFDB extends Source {
$title = str_replace('A new listing for ', '', $title);
$title = explode(' by ', $title);
$game->title = $title[0];
$game->author = $title[1];
if (isset($title[1])) {
$game->author = $title[1];
}
}
if (isset($keyValue['{}link'])) {
$game->url = $keyValue['{}link'];