diff options
| author | 2017-03-04 11:55:47 +0100 | |
|---|---|---|
| committer | 2017-03-04 11:55:47 +0100 | |
| commit | 6bbe89e9bc5ae5adf3d163923faa03c9207bd9e2 (patch) | |
| tree | f14e842fbc320d3f3c1331dae62eb7e24aaf2517 /cli/list-users.php | |
| parent | 29b4fbcf0abff1cff13b53d6b01e79e14de4c7f9 (diff) | |
| parent | 2818c72f5ae00276a083d0c24454394e9d064c7c (diff) | |
Merge pull request #1447 from Alkarex/CLI-bugs
Fix CLI bugs
Diffstat (limited to 'cli/list-users.php')
| -rwxr-xr-x | cli/list-users.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/list-users.php b/cli/list-users.php index e690ff451..610a9dd7b 100755 --- a/cli/list-users.php +++ b/cli/list-users.php @@ -4,7 +4,7 @@ require('_cli.php'); $users = listUsers(); sort($users); -if (FreshRSS_Context::$system_conf->default_user !== '') { +if (FreshRSS_Context::$system_conf->default_user !== '' && in_array(FreshRSS_Context::$system_conf->default_user, $users, true)) { array_unshift($users, FreshRSS_Context::$system_conf->default_user); $users = array_unique($users); } |
