From 32e0a9f4ac64b86585c48df9eb4849d5e98fefd1 Mon Sep 17 00:00:00 2001 From: drkthunder02 Date: Thu, 6 Dec 2018 18:12:19 -0600 Subject: [PATCH] helper for console commands --- app/Library/FinanceHelper.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Library/FinanceHelper.php b/app/Library/FinanceHelper.php index 7108777ac..a0b5086bf 100644 --- a/app/Library/FinanceHelper.php +++ b/app/Library/FinanceHelper.php @@ -182,8 +182,8 @@ 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[0]->corporation_id; + dd($found); + return $found->corporation_id; } }