From 4be15d5b40ffed2d84d4b000591d74f44454ea8a Mon Sep 17 00:00:00 2001 From: Alexis Degrugillier Date: Wed, 14 Feb 2018 22:31:15 +0100 Subject: Fix notice when managing user (#1785) See #1765 & #960 --- app/Controllers/userController.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/Controllers') 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); -- cgit v1.2.3