Skip to content

Commit

Permalink
1510: "Task" changed to lowercase "task" to streamline database
Browse files Browse the repository at this point in the history
  • Loading branch information
sinejespersen committed May 24, 2024
1 parent b8252d3 commit caa4784
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/Domain/Tickets/Services/Tickets.php
Original file line number Diff line number Diff line change
Expand Up @@ -1085,7 +1085,7 @@ public function quickAddTicket($params): array|bool

$values = array(
'headline' => $params['headline'],
'type' => 'Task',
'type' => 'task',
'description' => $params['description'] ?? '',
'projectId' => $params['projectId'] ?? $_SESSION['currentProject'],
'editorId' => $_SESSION['userdata']['id'],
Expand Down Expand Up @@ -1193,7 +1193,7 @@ public function addTicket($values)
$values = array(
'id' => '',
'headline' => $values['headline'] ?? "",
'type' => $values['type'] ?? "Task",
'type' => $values['type'] ?? "task",
'description' => $values['description'] ?? "",
'projectId' => $values['projectId'] ?? $_SESSION['currentProject'] ,
'editorId' => $values['editorId'] ?? "",
Expand Down

0 comments on commit caa4784

Please sign in to comment.