Skip to content

Commit

Permalink
FINERACT-613:500 Internal Server Errors on Data Tables
Browse files Browse the repository at this point in the history
  • Loading branch information
Madhukar committed Apr 11, 2018
1 parent d2b3411 commit a847b81
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1187,8 +1187,8 @@ public GenericResultsetData retrieveDataTableGenericResultSet(final String dataT
sql = sql + "select * from `" + dataTableName + "` where id = " + id;
}

this.columnValidator.validateSqlInjection(sql, order);
if (order != null) {
if (StringUtils.isNotBlank(order)) {
this.columnValidator.validateSqlInjection(sql, order);
sql = sql + " order by " + order;
}

Expand Down

0 comments on commit a847b81

Please sign in to comment.