Skip to content
Snippets Groups Projects
Commit c95d144e authored by lobo's avatar lobo
Browse files

CRM-13554

----------------------------------------
* CRM-13554: Improve string validation in the query engine
  http://issues.civicrm.org/jira/browse/CRM-13554
parent d5be5dc8
No related branches found
No related tags found
No related merge requests found
......@@ -4001,7 +4001,7 @@ civicrm_relationship.start_date > {$today}
}
if ($row_count > 0 && $offset >= 0) {
$offset = CRM_Utils_Type::escape($offset, 'Int');
$rowCount = CRM_Utils_Type::escape($rowCount, 'Int');
$rowCount = CRM_Utils_Type::escape($row_count, 'Int');
$sql .= " LIMIT $offset, $row_count ";
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment