Skip to content

Commit

Permalink
Replace not existant constant; fixes #1592
Browse files Browse the repository at this point in the history
  • Loading branch information
trasher committed Jan 13, 2017
1 parent da900a1 commit 34df68c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/user.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -3025,7 +3025,7 @@ static function getSqlSearchResult ($count=true, $right="all", $entity_restrict=
case 'create_ticket_validate' :
$where[]= " (`glpi_profilerights`.`name` = 'ticketvalidation'
AND (`glpi_profilerights`.`rights` & ".TicketValidation::CREATEREQUEST."
OR `glpi_profilerights`.`rights` & ".TicketValidation::CREATEDEMAND.") ".
OR `glpi_profilerights`.`rights` & ".TicketValidation::CREATEINCIDENT.") ".
getEntitiesRestrictRequest("AND", "glpi_profiles_users", '',
$entity_restrict, 1).") ";
$forcecentral = false;
Expand Down

0 comments on commit 34df68c

Please sign in to comment.