diff options
| author | 2013-05-12 16:51:45 +0200 | |
|---|---|---|
| committer | 2013-05-12 16:51:45 +0200 | |
| commit | c96225df6d6ba3aca0c6786c7f091f02c11d6e8d (patch) | |
| tree | f8d32cce0a12684604205314102e3f0d2a5176e4 /lib/lib_rss.php | |
| parent | c88f57c0360eca7f8f152d35e54872bf845e0ca0 (diff) | |
Fix issue #84 : affichage erreur si fichier OPML invalide
Diffstat (limited to 'lib/lib_rss.php')
| -rw-r--r-- | lib/lib_rss.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lib_rss.php b/lib/lib_rss.php index c574cd3fd..77d3ac2db 100644 --- a/lib/lib_rss.php +++ b/lib/lib_rss.php @@ -65,7 +65,7 @@ function opml_import ($xml) { $opml = @simplexml_load_string ($xml); if (!$opml) { - return array (array (), array ()); + throw new OpmlException (); } $categories = array (); |
