From a43c941ccf0806684b9bbbb2e2e40422ddeb9f3f Mon Sep 17 00:00:00 2001
From: efalcy <efalcy@afi-sa.fr>
Date: Thu, 5 Oct 2017 17:00:18 +0200
Subject: [PATCH] dev #65027 : JSON modified for author

---
 library/digital_resources/Skilleos/Service/Parser.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/library/digital_resources/Skilleos/Service/Parser.php b/library/digital_resources/Skilleos/Service/Parser.php
index 980c9806cad..0a20bd91762 100644
--- a/library/digital_resources/Skilleos/Service/Parser.php
+++ b/library/digital_resources/Skilleos/Service/Parser.php
@@ -30,7 +30,7 @@ class Skilleos_Service_Parser extends Class_WebService_BibNumerique_RessourceNum
     $this->_lessons = [];
     $this->_posters[] = $json->ressource->url;
 
-    $this->addAuthor($json->name);
+    $this->addAuthor($json->teacher->name);
 
 
     foreach ($json->lessons as $lesson) {
-- 
GitLab