diff --git a/app/Library/Finances.php b/app/Library/Finances.php index 503b6446c..2441c0306 100644 --- a/app/Library/Finances.php +++ b/app/Library/Finances.php @@ -107,7 +107,7 @@ class Finances { } private function PutWalletJournal($journal, $corpId, $division) { - $check = DB::table('CorpJournal')->where('id', $journal['id'])->get(); + $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 == null) { $entry = new CorpJournal;