aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Alexis Degrugillier <aledeg@users.noreply.github.com> 2018-02-14 22:31:15 +0100
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2018-02-14 22:31:15 +0100
commit4be15d5b40ffed2d84d4b000591d74f44454ea8a (patch)
tree455d92c6c646558d0b5c21def3988e2a149df3b0
parentac3e38359b420068b75cc848d89a3a6fc7b6e6c6 (diff)
Fix notice when managing user (#1785)
See #1765 & #960
-rw-r--r--app/Controllers/userController.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/Controllers/userController.php b/app/Controllers/userController.php
index 820260a08..2dad6a3f0 100644
--- a/app/Controllers/userController.php
+++ b/app/Controllers/userController.php
@@ -137,6 +137,8 @@ class FreshRSS_user_Controller extends Minz_ActionController {
$this->view->current_user = Minz_Request::param('u');
+ $this->view->nb_articles = 0;
+ $this->view->size_user = 0;
if ($this->view->current_user) {
// Get information about the current user.
$entryDAO = FreshRSS_Factory::createEntryDao($this->view->current_user);