Skip to content
This repository has been archived by the owner on Jan 27, 2021. It is now read-only.

Commit

Permalink
Fixed: Missing quoting in State::StateGetStatesByType() (bug#10158).
Browse files Browse the repository at this point in the history
  • Loading branch information
mgruner committed Jan 14, 2014
1 parent 7cfaec7 commit c4ec920
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Original file line Diff line number Diff line change
@@ -1,4 +1,5 @@
#3.2.14 201?-??-?? #3.2.14 201?-??-??
- 2014-01-14 Fixed bug#[10158](http://bugs.otrs.org/show_bug.cgi?id=10158) - Missing quoting in State::StateGetStatesByType().
- 2014-01-14 Fixed bug#[8969](http://bugs.otrs.org/show_bug.cgi?id=8969) - FAQ module Language files installation fails (Kernel/Language permissions). - 2014-01-14 Fixed bug#[8969](http://bugs.otrs.org/show_bug.cgi?id=8969) - FAQ module Language files installation fails (Kernel/Language permissions).
- 2014-01-07 Fixed bug#[9959](http://bugs.otrs.org/show_bug.cgi?id=9959) - & breaks ExpandCustomerName. - 2014-01-07 Fixed bug#[9959](http://bugs.otrs.org/show_bug.cgi?id=9959) - & breaks ExpandCustomerName.
- 2013-12-20 Fixed bug#[10099](http://bugs.otrs.org/show_bug.cgi?id=10099) - Missing challenge token checks on customer interface. - 2013-12-20 Fixed bug#[10099](http://bugs.otrs.org/show_bug.cgi?id=10099) - Missing challenge token checks on customer interface.
Expand Down
2 changes: 2 additions & 0 deletions Kernel/System/State.pm
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -418,6 +418,8 @@ sub StateGetStatesByType {
} }
} }


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

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

0 comments on commit c4ec920

Please sign in to comment.