Ignore:
Timestamp:
2008/11/06 18:13:33 (15 years ago)
Author:
takegami
Message:

issetの動作があやしいためstrlenへ変更

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2/data/class/pages/mypage/LC_Page_Mypage_DeliveryAddr.php

    r17683 r17694  
    123123                    //別のお届け先登録数の取得 
    124124                    $deliv_count = $objQuery->count("dtb_other_deliv", "customer_id=?", array($objCustomer->getValue('customer_id'))); 
    125                     if ($deliv_count < DELIV_ADDR_MAX or isset($_POST['other_deliv_id'])){ 
     125                    if ($deliv_count < DELIV_ADDR_MAX or strlen($_POST['other_deliv_id'])){ 
    126126                        if(strlen($_POST['other_deliv_id'] != 0)){ 
    127127                            $deliv_count = $objQuery->count("dtb_other_deliv","customer_id=? and other_deliv_id = ?" ,array($objCustomer->getValue('customer_id'), $_POST['other_deliv_id'])); 
Note: See TracChangeset for help on using the changeset viewer.