diff --git a/app/Http/Controllers/Test/TestController.php b/app/Http/Controllers/Test/TestController.php index 9ced0e580..73614d871 100644 --- a/app/Http/Controllers/Test/TestController.php +++ b/app/Http/Controllers/Test/TestController.php @@ -83,7 +83,7 @@ class TestController extends Controller //Pluck all the users from the database of ledgers to determine if they are mains or alts. $mains = Ledger::where([ 'invoiced' => 'Yes', - ])->where('last_updated', '>', Carbon::now()->subMonths(3))->pluck(['character_id'])->get('character_id'); + ])->where('last_updated', '>', Carbon::now()->subMonths(3))->pluck('character_id')->toArray(); dd($mains);