diff options
| author | 2016-03-06 17:10:02 +0100 | |
|---|---|---|
| committer | 2016-03-06 17:10:02 +0100 | |
| commit | e33b162d9c966d75cd2134ff4daa4796a17f8c0c (patch) | |
| tree | 3ec0a9195e4fe42381d775268164d50b07c0f98c /lib | |
| parent | 2fedf488b3745cc7e51801250288f13e7de4ac69 (diff) | |
| parent | 9d1f35d4b859a44964e52a377e8718113e160862 (diff) | |
Merge branch 'OpmlTitle' into dev
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/lib_opml.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/lib_opml.php b/lib/lib_opml.php index 02ae5f55c..66b854313 100644 --- a/lib/lib_opml.php +++ b/lib/lib_opml.php @@ -105,6 +105,10 @@ function libopml_parse_outline($outline_xml, $strict = true) { ); } + if (empty($outline['text']) && isset($outline['title'])) { + $outline['text'] = $outline['title']; + } + foreach ($outline_xml->children() as $key => $value) { // An outline may contain any number of outline children if ($key === 'outline') { |
