Skip to content

A free, self-hostable news aggregator…

Fix notice when managing user (#1785)

Alexis Degrugillier4be15d5b40ff
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);