From 4a160868987b57e56800e437cc221d9b6e7a958c Mon Sep 17 00:00:00 2001 From: drkthunder02 Date: Thu, 13 Dec 2018 01:36:44 -0600 Subject: [PATCH] bunch of updates --- 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 eb1cecb4f..e51640534 100644 --- a/app/Library/FinanceHelper.php +++ b/app/Library/FinanceHelper.php @@ -140,7 +140,7 @@ class FinanceHelper { if($journal['ref_type'] == 'player_donation') { $check = DB::table('PlayerDonationJournals')->where('id', $journal['id'])->get(); //if we don't find the journal entry, add the journal entry to the database - if($check->count() === 0) { + if($check->count() == 0) { $entry = new CorpJournal; $entry->id = $journal['id']; $entry->corporation_id = $corpId; @@ -180,7 +180,7 @@ class FinanceHelper { } else { $check = DB::table('CorpJournals')->where('id', $journal['id'])->get(); //if we don't find the journal entry, add the journal entry to the database - if($check->count() === 0) { + if($check->count() == 0) { $entry = new CorpJournal; $entry->id = $journal['id']; $entry->corporation_id = $corpId;