fix: [administration] fixed var name

pull/6172/head
iglocska 2020-07-29 18:29:21 +02:00
parent 0aeb39986b
commit 1c22d5e514
No known key found for this signature in database
GPG Key ID: BEA224F1FEF113AC
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ class StatisticsShell extends AppShell {
'endpoints' => []
];
$this->User = ClassRegistry::init('User');
$emails = $this->User->find('list', [
$users = $this->User->find('list', [
'fields' => ['id', 'email']
]);
foreach ($raw as $line) {