Skip to content

Commit

Permalink
No texistant constant; fixes glpi-project#1592
Browse files Browse the repository at this point in the history
  • Loading branch information
trasher committed Jan 12, 2017
1 parent e6fc2e5 commit 6c79ad6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions inc/user.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -3020,8 +3020,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.") ".
AND `glpi_profilerights`.`rights` & ".TicketValidation::CREATEREQUEST." ".
getEntitiesRestrictRequest("AND", "glpi_profiles_users", '',
$entity_restrict, 1).") ";
$forcecentral = false;
Expand Down

0 comments on commit 6c79ad6

Please sign in to comment.