Changeset 2138 for temp/trunk/data/class


Ignore:
Timestamp:
2006/08/26 18:15:08 (20 years ago)
Author:
kakinaka
Message:

blank

File:
1 edited

Legend:

Unmodified
Added
Removed
  • temp/trunk/data/class/SC_CustomerList.php

    r2134 r2138  
    245245        } 
    246246         
    247         $limit = $array['page_rows']; 
    248         $offset = $array['page_rows'] * ($array['search_pageno'] - 1); 
    249 //      $offset = 0; 
    250         $this->setLimitOffset($limit, $offset); 
     247        // ɽ¼¨·ï¿ôÀßÄê 
     248        if ($array['page_rows'] > 0) { 
     249            $limit = $array['page_rows']; 
     250            $offset = $array['page_rows'] * ($array['search_pageno'] - 1); 
     251            $this->setLimitOffset($limit, $offset); 
     252        } 
    251253 
    252254        $this->setOrder( "customer_id DESC" ); 
Note: See TracChangeset for help on using the changeset viewer.