Ignore:
Timestamp:
May 30, 2006 9:30:35 PM (18 years ago)
Author:
scdev
Message:

finished updating DB:: to $db->

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0singleton/lib/PageNumbers.inc.php

    r128 r130  
    192192    {
    193193        $app =& App::getInstance();
     194        $db =& DB::getInstance();
    194195
    195196        if (is_numeric($this->first_item) && is_numeric($this->_per_page)) {
    196             return ' LIMIT ' . DB::escapeString($this->first_item) . ', ' . DB::escapeString($this->_per_page) . ' ';
     197            return ' LIMIT ' . $db->escapeString($this->first_item) . ', ' . $db->escapeString($this->_per_page) . ' ';
    197198        } else {
    198199            $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.