diff options
| author | 2014-02-28 20:22:50 +0100 | |
|---|---|---|
| committer | 2014-02-28 20:22:50 +0100 | |
| commit | f44683b5671b323ba96f0c4cd47ba9458e934679 (patch) | |
| tree | 7dc93c1deecfc7f89212c5ba98d00ccbf98d6777 /app/Controllers/configureController.php | |
| parent | d79da54c984fb4bb94bf4226d4318bfd408628db (diff) | |
API streamContents for categories and feeds
https://github.com/marienfressinaud/FreshRSS/issues/13
Diffstat (limited to 'app/Controllers/configureController.php')
| -rwxr-xr-x | app/Controllers/configureController.php | 2 |
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); } } |
