diff --git a/app/Services/InboundMail/InboundMailEngine.php b/app/Services/InboundMail/InboundMailEngine.php index d4d4a9d322e6..c4b80ffebee5 100644 --- a/app/Services/InboundMail/InboundMailEngine.php +++ b/app/Services/InboundMail/InboundMailEngine.php @@ -198,7 +198,7 @@ class InboundMailEngine if (array_search($expense->id, $parsed_expense_ids)) continue; - array_push($parsed_expenses, $expense->id); + array_push($parsed_expense_ids, $expense->id); } catch (\Exception $err) { // throw error, only, when its not expected