Fix notice when managing user (#1785)

See #1765 & #960
This commit is contained in:
Alexis Degrugillier
2018-02-14 22:31:15 +01:00
committed by Alexandre Alapetite
parent ac3e38359b
commit 4be15d5b40

View File

@@ -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);