aboutsummaryrefslogtreecommitdiff
path: root/lib/lib_opml.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/lib_opml.php')
-rw-r--r--lib/lib_opml.php2
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 ()