Changeset 11917


Ignore:
Timestamp:
2007/03/19 16:43:06 (16 years ago)
Author:
kakinaka
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dev/data/class/SC_SelectSql.php

    r226 r11917  
    3232                         
    3333        // $mode == 1 ¤Ï limit & offset̵¤·                      
    34         if ( $mode != 1 ){ 
     34        if ($mode == 2) { 
     35            $this->sql .= $this->order; 
     36        }elseif ( $mode != 1 ){ 
    3537            $this->sql .= $this->order . " " .$this->limit ." ". $this->offset;  
    36         } elseif ($mode == 2) { 
    37             $this->sql .= $this->order; 
    38         } 
     38        } 
     39 
    3940        return $this->sql;   
    4041    } 
Note: See TracChangeset for help on using the changeset viewer.