Ignore:
Timestamp:
2010/12/16 23:12:59 (11 years ago)
Author:
Seasoft
Message:

#855(SC_Query の #select, #getRow, #getCol, #get, #min, #max の引数順を統一する)

  • SC_Query#get を改訂
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_5-dev/data/class/SC_Customer.php

    r19547 r19729  
    181181 
    182182            $objQuery = new SC_Query(); 
    183             $email = $objQuery->get("dtb_customer", "email", "customer_id = ?", array($_SESSION['customer']['customer_id'])); 
     183            $email = $objQuery->get("email", "dtb_customer", "customer_id = ?", array($_SESSION['customer']['customer_id'])); 
    184184            if($email == $_SESSION['customer']['email']) { 
    185185                // モバイルサイトの場合は携帯のメールアドレスが登録されていることもチェックする。 
    186186                // ただし $dont_check_email_mobile が true の場合はチェックしない。 
    187187                if (defined('MOBILE_SITE') && !$dont_check_email_mobile) { 
    188                     $email_mobile = $objQuery->get("dtb_customer", "email_mobile", "customer_id = ?", array($_SESSION['customer']['customer_id'])); 
     188                    $email_mobile = $objQuery->get("email_mobile", "dtb_customer", "customer_id = ?", array($_SESSION['customer']['customer_id'])); 
    189189                    return isset($email_mobile); 
    190190                } 
Note: See TracChangeset for help on using the changeset viewer.