Changeset 111 for trunk/lib/PageNumbers.inc.php
- Timestamp:
- Apr 27, 2006 1:49:54 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/PageNumbers.inc.php
r53 r111 190 190 { 191 191 if (is_numeric($this->first_item) && is_numeric($this->_per_page)) { 192 return ' LIMIT ' . addslashes($this->first_item) . ', ' . addslashes($this->_per_page) . ' ';192 return ' LIMIT ' . DB::escapeString($this->first_item) . ', ' . DB::escapeString($this->_per_page) . ' '; 193 193 } else { 194 194 App::logMsg(sprintf('Could not find SQL to LIMIT by %s %s.', $this->first_item, $this->_per_page), LOG_WARNING, __FILE__, __LINE__);
Note: See TracChangeset
for help on using the changeset viewer.