Skip to content
This repository has been archived by the owner on Jan 27, 2021. It is now read-only.
Permalink
Browse files Browse the repository at this point in the history
Fixed: Missing quoting in State::StateGetStatesByType() (bug#10158).
  • Loading branch information
mgruner committed Jan 14, 2014
1 parent 4d7ccdf commit 2997b36
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGES
Expand Up @@ -10,6 +10,7 @@
# --

3.1.19 2013-??-??
- 2013-12-20 Fixed bug#10158 - Missing quoting in State::StateGetStatesByType().
- 2013-12-20 Fixed bug#10099 - Missing challenge token checks on customer interface.
- 2013-09-20 Fixed bug#8489 - setting Tickets per page resets AgentTicketQueue.
- 2013-09-06 Fixed bug#9661 - Useless code in DynamicField backend.
Expand Down
2 changes: 2 additions & 0 deletions Kernel/System/State.pm
Expand Up @@ -421,6 +421,8 @@ sub StateGetStatesByType {
}
}

@StateType = map { $Self->{DBObject}->Quote($_) } @StateType;

my $SQL = ''
. 'SELECT ts.id, ts.name, tst.name'
. ' FROM ticket_state ts, ticket_state_type tst'
Expand Down

0 comments on commit 2997b36

Please sign in to comment.