Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed: Missing quoting in State::StateGetStatesByType() (bug#10158).

  • Loading branch information...
commit 0680603a07b8dc37c2ddca6ff14e0236babefc82 1 parent a61cba2
@mgruner mgruner authored
Showing with 3 additions and 0 deletions.
  1. +1 −0  CHANGES.md
  2. +2 −0  Kernel/System/State.pm
View
1  CHANGES.md
@@ -13,6 +13,7 @@
- 2013-12-12 Added additional information to install commands for different distributions (see perl bin/otrs.CheckModules.pl -h) for more information.
#3.3.4 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#[10048](http://bugs.otrs.org/show_bug.cgi?id=10048) - RPM upgrade breaks permissions on config files.
- 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-10 Updated traditional Chinese translation.
View
2  Kernel/System/State.pm
@@ -411,6 +411,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'
Please sign in to comment.
Something went wrong with that request. Please try again.