diff options
| author | 2014-02-28 20:22:50 +0100 | |
|---|---|---|
| committer | 2014-02-28 20:22:50 +0100 | |
| commit | f44683b5671b323ba96f0c4cd47ba9458e934679 (patch) | |
| tree | 7dc93c1deecfc7f89212c5ba98d00ccbf98d6777 /lib | |
| parent | d79da54c984fb4bb94bf4226d4318bfd408628db (diff) | |
API streamContents for categories and feeds
https://github.com/marienfressinaud/FreshRSS/issues/13
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/lib_opml.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lib_opml.php b/lib/lib_opml.php index 9feb12ae0..05e54d85e 100644 --- a/lib/lib_opml.php +++ b/lib/lib_opml.php @@ -58,7 +58,7 @@ function opml_import ($xml) { $title = htmlspecialchars($title, ENT_COMPAT, 'UTF-8'); $catDAO = new FreshRSS_CategoryDAO (); $cat = $catDAO->searchByName ($title); - if ($cat === false) { + if ($cat == null) { $cat = new FreshRSS_Category ($title); $values = array ( 'name' => $cat->name () |
