Ignore:
Timestamp:
2011/09/15 22:21:15 (13 years ago)
Author:
Seasoft
Message:

#1421 (Fix typo.)
#1463 (コーディング規則に従っていない)
フォーラムにて、momoko 様からご指摘いただきました。
 http://xoops.ec-cube.net/modules/newbb/viewtopic.php?viewmode=thread&topic_id=7850&forum=3&post_id=43149#forumpost43149

File:
1 edited

Legend:

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

    r21185 r21239  
    640640     */ 
    641641    function alldtlSQL($where = "") { 
    642         $whereCause = ""; 
     642        $where_clause = ""; 
    643643        if (!SC_Utils_Ex::isBlank($where)) { 
    644             $whereCause = " WHERE " . $where; 
     644            $where_clause = " WHERE " . $where; 
    645645        } 
    646646        /* 
     
    727727                              COUNT(*) as class_count 
    728728                        FROM dtb_products_class 
    729                         $whereCause 
     729                        $where_clause 
    730730                        GROUP BY product_id 
    731731                    ) AS T4 
     
    747747     */ 
    748748    function prdclsSQL($where = "") { 
    749         $whereCause = ""; 
     749        $where_clause = ""; 
    750750        if (!SC_Utils_Ex::isBlank($where)) { 
    751             $whereCause = " WHERE " . $where; 
     751            $where_clause = " WHERE " . $where; 
    752752        } 
    753753        $sql = <<< __EOS__ 
     
    787787                 LEFT JOIN dtb_classcategory as Tcc2 
    788788                     ON Tpcm.classcategory_id = Tcc2.classcategory_id 
    789              $whereCause 
     789             $where_clause 
    790790        ) as prdcls 
    791791__EOS__; 
Note: See TracChangeset for help on using the changeset viewer.