diff --git a/Game.php b/Game.php index ec8548a..72b385c 100644 --- a/Game.php +++ b/Game.php @@ -32,7 +32,11 @@ class Game { if (FORMAT === 'HTML') { $output = "
  • «".trim($this->title)."»"; if ($this->author) { - $output .= " — ".trim($this->author).""; + if (is_array($this->author)) { + $output .= " — ".implode(', ', array_map('trim', $this->author)).""; + } else { + $output .= " — ".trim($this->author).""; + } } } }