if ($rowcount > 0 && $offset >= 0) {
$offset = CRM_Utils_Type::escape($offset, 'Int');
- $rowCount = CRM_Utils_Type::escape($rowCount, 'Int');
+ $rowcount = CRM_Utils_Type::escape($rowcount, 'Int');
$sql .= " LIMIT $offset, $rowcount ";
}
return $sql;
if ($rowcount > 0 && $offset >= 0) {
$offset = CRM_Utils_Type::escape($offset, 'Int');
- $rowCount = CRM_Utils_Type::escape($rowCount, 'Int');
+ $rowcount = CRM_Utils_Type::escape($rowcount, 'Int');
$sql .= " LIMIT $offset, $rowcount ";
}
if ($rowcount > 0 && $offset >= 0) {
$offset = CRM_Utils_Type::escape($offset, 'Int');
- $rowCount = CRM_Utils_Type::escape($rowCount, 'Int');
+ $rowcount = CRM_Utils_Type::escape($rowcount, 'Int');
$sql .= " LIMIT $offset, $rowcount ";
}
return $sql;
if ($rowcount > 0 && $offset >= 0) {
$offset = CRM_Utils_Type::escape($offset, 'Int');
- $rowCount = CRM_Utils_Type::escape($rowCount, 'Int');
+ $rowcount = CRM_Utils_Type::escape($rowcount, 'Int');
$sql .= " LIMIT $offset, $rowcount ";
}
$limitString = NULL;
if ($limit && $offset !== NULL) {
$offset = CRM_Utils_Type::escape($offset, 'Int');
- $rowCount = CRM_Utils_Type::escape($rowCount, 'Int');
+ $limit = CRM_Utils_Type::escape($limit, 'Int');
$limitString = "LIMIT $offset, $limit";
}
$limitString = NULL;
if ($limit && $offset !== NULL) {
$offset = CRM_Utils_Type::escape($offset, 'Int');
- $rowCount = CRM_Utils_Type::escape($rowCount, 'Int');
+ $limit = CRM_Utils_Type::escape($limit, 'Int');
$limitString = "LIMIT $offset, $limit";
}
$offset = CRM_Utils_Type::escape($offset, 'Int');
$rowCount = CRM_Utils_Type::escape($rowCount, 'Int');
- $this->_limit = " LIMIT $offset, " . $rowCount;
+ $this->_limit = " LIMIT $offset, $rowCount";
return array($offset, $rowCount);
}
}