From 1c22d5e5144b01553cf42fd570eac50d3de42c3a Mon Sep 17 00:00:00 2001 From: iglocska Date: Wed, 29 Jul 2020 18:29:21 +0200 Subject: [PATCH] fix: [administration] fixed var name --- app/Console/Command/StatisticsShell.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Console/Command/StatisticsShell.php b/app/Console/Command/StatisticsShell.php index d90d45b77..363029627 100644 --- a/app/Console/Command/StatisticsShell.php +++ b/app/Console/Command/StatisticsShell.php @@ -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) {