summaryrefslogtreecommitdiff
path: root/app/Controllers/configureController.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2014-02-28 20:22:50 +0100
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2014-02-28 20:22:50 +0100
commitf44683b5671b323ba96f0c4cd47ba9458e934679 (patch)
tree7dc93c1deecfc7f89212c5ba98d00ccbf98d6777 /app/Controllers/configureController.php
parentd79da54c984fb4bb94bf4226d4318bfd408628db (diff)
API streamContents for categories and feeds
https://github.com/marienfressinaud/FreshRSS/issues/13
Diffstat (limited to 'app/Controllers/configureController.php')
-rwxr-xr-xapp/Controllers/configureController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controllers/configureController.php b/app/Controllers/configureController.php
index f831f25d0..41a7920f0 100755
--- a/app/Controllers/configureController.php
+++ b/app/Controllers/configureController.php
@@ -44,7 +44,7 @@ class FreshRSS_configure_Controller extends Minz_ActionController {
'name' => $cat->name (),
);
- if ($catDAO->searchByName ($newCat) == false) {
+ if ($catDAO->searchByName ($newCat) == null) {
$catDAO->addCategory ($values);
}
}