diff options
| author | 2014-10-01 13:37:10 +0200 | |
|---|---|---|
| committer | 2014-10-01 13:37:10 +0200 | |
| commit | f400621f44c2aac0b1bb4204e95e4c35a8a35f8f (patch) | |
| tree | 91455d2056c097b14af8e62605e178e83e341369 /app/Controllers/subscriptionController.php | |
| parent | a7bf7ced369a046b487ab1cd8b3819acc5ebdafe (diff) | |
Fix problem when deleting default category
This is not allowed!
See https://github.com/marienfressinaud/FreshRSS/issues/646
Diffstat (limited to 'app/Controllers/subscriptionController.php')
| -rw-r--r-- | app/Controllers/subscriptionController.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/Controllers/subscriptionController.php b/app/Controllers/subscriptionController.php index 83f803edb..aabae7b8f 100644 --- a/app/Controllers/subscriptionController.php +++ b/app/Controllers/subscriptionController.php @@ -19,6 +19,7 @@ class FreshRSS_subscription_Controller extends Minz_ActionController { $catDAO = new FreshRSS_CategoryDAO(); + $catDAO->checkDefault(); $this->view->categories = $catDAO->listCategories(false); $this->view->default_category = $catDAO->getDefault(); } |
