ここの情報は古いです。ご理解頂いた上でお取り扱いください。

Changeset 8602


Ignore:
Timestamp:
Oct 7, 2008, 11:07:02 PM (11 years ago)
Author:
ebihara
Message:

#2885:enabled register mobile_address

Location:
OpenPNE3/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE3/trunk/data/member_config.yml

    r7937 r8602  
    2020      IsConfig:   true
    2121      IsRequired: true
     22
     23    mobile_address:
     24      Name:       "mobile_address"
     25      Caption:    "携帯メールアドレス"
     26      FormType:   "input"
     27      ValueType:  "email"
     28      IsRegist:   true
     29      IsConfig:   true
     30      IsRequired: true
  • OpenPNE3/trunk/lib/form/MemberConfigForm.class.php

    r8567 r8602  
    9393    foreach ($this->getValues() as $key => $value) {
    9494      $memberConfig = MemberConfigPeer::retrieveByNameAndMemberId($key, $memberId);
    95       if ($memberConfig) {
     95      if (!$memberConfig) {
    9696        $memberConfig = new MemberConfig();
    97         $memberConfig->setName($name);
     97        $memberConfig->setName($key);
    9898        $memberConfig->setMemberId($memberId);
    9999      }
Note: See TracChangeset for help on using the changeset viewer.