From: Hamatoma Date: Wed, 19 Jun 2024 17:39:54 +0000 (+0200) Subject: TaskController.create: reference_id X-Git-Url: https://gitweb.hamatoma.de/?a=commitdiff_plain;h=f9129e5b4b1e84ea2a96f2ab4203af27aa393778;p=gadeku.git TaskController.create: reference_id --- 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();