Skip to content

Commit

Permalink
fix(form): bad SQL to find validator groups
Browse files Browse the repository at this point in the history
Signed-off-by: Thierry Bugier <tbugier@teclib.com>
  • Loading branch information
btry committed Mar 26, 2021
1 parent a1fa694 commit 42d0665
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions inc/form.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -504,8 +504,7 @@ public function showForm($ID, $options = []) {
"$profileRightTable.name" => "ticketvalidation",
[
'OR' => [
"$profileRightTable.rights" => ['&', TicketValidation::VALIDATEREQUEST],
"$profileRightTable.rights" => ['&', TicketValidation::VALIDATEINCIDENT],
"$profileRightTable.rights" => ['&', TicketValidation::VALIDATEREQUEST | TicketValidation::VALIDATEINCIDENT],
],
],
"$userTable.is_active" => '1',
Expand Down

0 comments on commit 42d0665

Please sign in to comment.