Skip to content

Commit

Permalink
refactor(issue): replace litteral by constant
Browse files Browse the repository at this point in the history
  • Loading branch information
btry committed Mar 29, 2022
1 parent b5ad0cd commit 48e89b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hook.php
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ function plugin_formcreator_hook_add_ticket(CommonDBTM $item) {
'FROM' => Ticket_User::getTable(),
'WHERE' => [
'tickets_id' => $item->getID(),
'type' => '1',
'type' => CommonITILActor::REQUESTER,
],
'ORDER' => ['id'],
'LIMIT' => '1',
Expand Down

0 comments on commit 48e89b4

Please sign in to comment.