aboutsummaryrefslogtreecommitdiff
path: root/cli/user-info.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2019-11-08 23:11:35 +0100
committerGravatar GitHub <noreply@github.com> 2019-11-08 23:11:35 +0100
commitf1d1d46651140961d6dc9436b3b9c66a2723f896 (patch)
tree70633ef58c95e861edbb7365b6afdb4df7a0005a /cli/user-info.php
parent6d596e9e54308297d423b23bf65338d62eebc415 (diff)
Fix CLI bug regarding an empty user (#2646)
Fix https://github.com/FreshRSS/FreshRSS/issues/2644
Diffstat (limited to 'cli/user-info.php')
-rwxr-xr-xcli/user-info.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/user-info.php b/cli/user-info.php
index aa4db7c2f..f56bd9aa5 100755
--- a/cli/user-info.php
+++ b/cli/user-info.php
@@ -43,7 +43,7 @@ if (array_key_exists('header', $options)) {
foreach ($users as $username) {
$username = cliInitUser($username);
- $catDAO = FreshRSS_Factory::createCategoryDao();
+ $catDAO = FreshRSS_Factory::createCategoryDao($username);
$feedDAO = FreshRSS_Factory::createFeedDao($username);
$entryDAO = FreshRSS_Factory::createEntryDao($username);
$tagDAO = FreshRSS_Factory::createTagDao($username);