From a697005ea867846137aa3fb787398fc49bbc3e63 Mon Sep 17 00:00:00 2001 From: drkthunder02 Date: Thu, 6 Dec 2018 18:23:48 -0600 Subject: [PATCH] console command --- app/Library/FinanceHelper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Library/FinanceHelper.php b/app/Library/FinanceHelper.php index 9204f3bb3..4d4f4a5f2 100644 --- a/app/Library/FinanceHelper.php +++ b/app/Library/FinanceHelper.php @@ -183,7 +183,7 @@ class FinanceHelper { return $character->corporation_id; } else { //Return the corporation_id if it was found in the database as it is what the calling function is looking for - return $found->corporation_id; + return $found[0]->corporation_id; } }