Ignore:
Timestamp:
2014/05/29 15:16:54 (10 years ago)
Author:
pineray
Message:

#2515 無駄な処理を改善する for 2.13.3

商品IDのチェックを共通関数化.
チェック部分のエラーを修正.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_13-dev/data/class/SC_Product.php

    r23459 r23460  
    718718        $where = ''; 
    719719        if (!$include_hidden) { 
    720             $where .= ' status = 1'; 
     720            $where .= 'status = 1'; 
    721721        } 
    722722        if (!$include_deleted) { 
    723             $where .= ' del_flg = 0'; 
     723            if ($where != '') { 
     724                $where .= ' AND '; 
     725            } 
     726            $where .= 'del_flg = 0'; 
    724727        } 
    725728        if ( 
Note: See TracChangeset for help on using the changeset viewer.