bunch of updates

This commit is contained in:
2018-12-13 01:36:44 -06:00
parent 6aa89a62c8
commit 4a16086898
+2 -2
View File
@@ -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;