Avoid sending empty language Ibis reader doesn't like it.
This commit is contained in:
parent
ae37c13711
commit
b0e95c6f02
|
@ -217,7 +217,7 @@ class OPDSRenderer
|
|||
}
|
||||
|
||||
$lang = $entry->book->getLanguages ();
|
||||
if (!is_null ($lang)) {
|
||||
if (!empty ($lang)) {
|
||||
self::getXmlStream ()->startElement ("dcterms:language");
|
||||
self::getXmlStream ()->text ($lang);
|
||||
self::getXmlStream ()->endElement ();
|
||||
|
|
Loading…
Reference in a new issue