Skip to content

Commit

Permalink
Update Results.php
Browse files Browse the repository at this point in the history
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
  • Loading branch information
kamil-tekiela committed May 25, 2023
1 parent d006f2a commit 68267ac
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions libraries/classes/Display/Results.php
Original file line number Diff line number Diff line change
Expand Up @@ -3127,9 +3127,7 @@ private function getDataCellForNonNumericColumns(
// otherwise, preserve whitespaces and wrap
$nowrap = $meta->isDateTimeType() || $boolNoWrap ? 'text-nowrap' : 'pre_wrap';

$whereComparison = ' = \''
. $this->dbi->escapeString($originalDataForWhereClause)
. '\'';
$whereComparison = ' = ' . $this->dbi->quoteString($originalDataForWhereClause);

return $this->getRowData(
$class,
Expand Down

0 comments on commit 68267ac

Please sign in to comment.