Changeset 16221


Ignore:
Timestamp:
2007/10/01 16:44:11 (15 years ago)
Author:
nanasess
Message:

mail_flag -> mailmaga_flg に修正(#133)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/feature-module-update/data/class/pages/entry/LC_Page_Entry.php

    r16215 r16221  
    359359                    $checkVal = array("sex", "year", "month", "day", "zip01", "zip02"); 
    360360                } else { 
    361                     $checkVal = array("pref", "addr01", "addr02", "tel01", "tel02", "tel03", "mail_flag"); 
     361                    $checkVal = array("pref", "addr01", "addr02", "tel01", "tel02", "tel03", "mailmaga_flg"); 
    362362                } 
    363363 
     
    390390 
    391391                    //メール受け取り 
    392                     if (isset($this->arrForm['mail_flag']) && strtolower($this->arrForm['mail_flag']) == "on") { 
    393                         $this->arrForm['mail_flag']  = "2"; 
     392                    if (!isset($this->arrForm['mailmaga_flg'])) $this->arrForm['mailmaga_flg']  = ""; 
     393                    if (strtolower($this->arrForm['mailmaga_flg']) == "on") { 
     394                        $this->arrForm['mailmaga_flg']  = "2"; 
    394395                    } else { 
    395                         $this->arrForm['mail_flag']  = "3"; 
     396                        $this->arrForm['mailmaga_flg']  = "3"; 
    396397                    } 
    397398 
     
    406407                    $checkVal = array("sex", "year", "month", "day", "zip01", "zip02"); 
    407408                } elseif ($_POST["mode"] == "set2") { 
    408                     $checkVal = array("pref", "addr01", "addr02", "tel01", "tel02", "tel03", "mail_flag"); 
     409                    $checkVal = array("pref", "addr01", "addr02", "tel01", "tel02", "tel03", "mailmaga_flg"); 
    409410                } else { 
    410411                    $checkVal = array(); 
Note: See TracChangeset for help on using the changeset viewer.