Changeset 17686 for branches/version-1


Ignore:
Timestamp:
2008/11/06 15:52:28 (15 years ago)
Author:
takegami
Message:

#389 表示されていないお届け先を指定できる

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-1/html/shopping/deliv.php

    r11785 r17686  
    113113    } elseif($_POST['deliv_check'] >= 1) { 
    114114        if (sfIsInt($_POST['deliv_check'])) { 
     115            $deliv_count = $objQuery->count("dtb_other_deliv","customer_id=? and other_deliv_id = ?" ,array($objCustomer->getValue('customer_id'), $_POST['deliv_check'])); 
     116            if ($deliv_count != 1) { 
     117                sfDispSiteError(CUSTOMER_ERROR); 
     118            } 
    115119            // ÅÐÏ¿ºÑ¤ß¤ÎÊ̤ΤªÆϤ±Àè¤ò¼õÃí°ì»þ¥Æ¡¼¥Ö¥ë¤Ë½ñ¤­¹þ¤à 
    116120            lfRegistOtherDelivData($uniqid, $objCustomer, $_POST['deliv_check']); 
     
    120124            header("Location: " . URL_SHOP_PAYMENT); 
    121125            exit; 
     126 
    122127        } 
    123128    }else{ 
Note: See TracChangeset for help on using the changeset viewer.