Skip to content

Commit caa4784

Browse files
committed
1510: "Task" changed to lowercase "task" to streamline database
1 parent b8252d3 commit caa4784

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/Domain/Tickets/Services/Tickets.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1085,7 +1085,7 @@ public function quickAddTicket($params): array|bool
10851085

10861086
$values = array(
10871087
'headline' => $params['headline'],
1088-
'type' => 'Task',
1088+
'type' => 'task',
10891089
'description' => $params['description'] ?? '',
10901090
'projectId' => $params['projectId'] ?? $_SESSION['currentProject'],
10911091
'editorId' => $_SESSION['userdata']['id'],
@@ -1193,7 +1193,7 @@ public function addTicket($values)
11931193
$values = array(
11941194
'id' => '',
11951195
'headline' => $values['headline'] ?? "",
1196-
'type' => $values['type'] ?? "Task",
1196+
'type' => $values['type'] ?? "task",
11971197
'description' => $values['description'] ?? "",
11981198
'projectId' => $values['projectId'] ?? $_SESSION['currentProject'] ,
11991199
'editorId' => $values['editorId'] ?? "",

0 commit comments

Comments
 (0)