Skip to content
Snippets Groups Projects
Commit 7fe31eee authored by pbarroca's avatar pbarroca
Browse files

OPDS: si non spécifié par le catalogue l'auteur est mis à "inconnu" lors de l'import

parent a483d053
Branches
Tags
No related merge requests found
......@@ -53,6 +53,13 @@ class Class_WebService_OPDS_CatalogEntry {
}
public function getAuthor() {
if (null == $this->_properties['author'])
return 'inconnu';
return $this->_properties['author'];
}
public function import() {
$libelle = sprintf('import opds du %s', date('d M Y'));
if (!$category = Class_AlbumCategorie::getLoader()->findFirstBy(array('libelle' => $libelle)))
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment