From f9129e5b4b1e84ea2a96f2ab4203af27aa393778 Mon Sep 17 00:00:00 2001 From: Hamatoma Date: Wed, 19 Jun 2024 19:39:54 +0200 Subject: [PATCH] TaskController.create: reference_id --- app/Http/Controllers/TaskController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Http/Controllers/TaskController.php b/app/Http/Controllers/TaskController.php index a2b98aa..330143a 100644 --- a/app/Http/Controllers/TaskController.php +++ b/app/Http/Controllers/TaskController.php @@ -90,6 +90,7 @@ class TaskController extends Controller $rc = back()->withErrors($validator)->withInput(); } else { $fields['module_id'] = Module::idOfModule('Page'); + $fields['reference_id'] = $page->id; $fields['notestatus_scope'] = 1011; $fields['options'] .= "\n_task=" . $fields['task']; $fields['owner_id'] = auth()->id(); -- 2.39.5