- Timestamp:
- 2010/03/11 10:35:11 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tmp/version-2_5-test/data/class/pages/campaign/LC_Page_CampaignApplication.php
r18562 r18609 45 45 parent::init(); 46 46 $this->tpl_mainpage = TEMPLATE_DIR . '/campaign/application.tpl'; 47 $this->allowClientCache();48 47 } 49 48 … … 120 119 121 120 if($orverlapping_flg) { 122 if($this->lfOverlappingCheck($objCustomer->getValue('customer_id'), $obj CampaignSess->getCampaignId(), $objQuery)) {121 if($this->lfOverlappingCheck($objCustomer->getValue('customer_id'), $objQuery)) { 123 122 $this->arrErr['login_email'] = "※ 複数回ご応募することは出来ません。"; 124 123 } … … 253 252 * 戻り値:フラグ (重複があったら true 重複がなかったら false) 254 253 */ 255 function lfOverlappingCheck($customer_id, $campaign_id,&$objQuery) {256 $count = $objQuery->count("dtb_campaign_order", "customer_id = ? AND campaign_id = ?", array($customer_id, $campaign_id));254 function lfOverlappingCheck($customer_id, &$objQuery) { 255 $count = $objQuery->count("dtb_campaign_order", "customer_id = ?", array($customer_id)); 257 256 if($count > 0) { 258 257 return true;
Note: See TracChangeset
for help on using the changeset viewer.