From b724570d5d2725aa8ec776df19b91eda2fb216cc Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Thu, 27 Apr 2017 11:12:55 +0300 Subject: [PATCH] Fix for invoicing tasks --- app/Http/Controllers/InvoiceController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/InvoiceController.php b/app/Http/Controllers/InvoiceController.php index 42108f353d..9fc99f4533 100644 --- a/app/Http/Controllers/InvoiceController.php +++ b/app/Http/Controllers/InvoiceController.php @@ -314,7 +314,7 @@ class InvoiceController extends BaseController 'recurringHelp' => $recurringHelp, 'recurringDueDateHelp' => $recurringDueDateHelp, 'invoiceLabels' => Auth::user()->account->getInvoiceLabels(), - 'tasks' => Session::get('tasks') ? json_encode(Session::get('tasks')) : null, + 'tasks' => Session::get('tasks') ? Session::get('tasks') : null, 'expenseCurrencyId' => Session::get('expenseCurrencyId') ?: null, 'expenses' => Session::get('expenses') ? Expense::scope(Session::get('expenses'))->with('documents', 'expense_category')->get() : [], ];