プロジェクト

全般

プロフィール

3190_2.patch

pnetan  , 2013-05-27 18:26

ダウンロード (1.24 KB)

差分を表示:

data/upgrade/2/opUpgradeFrom2MemberProfileStrategy.class.php
72 72
          break;
73 73
      }
74 74

  
75
      if ('text' === $profile['form_type'])
76
      {
77
        $profile['form_type'] = 'input';
78
      }
79
      elseif ('textlong' === $profile['form_type'])
80
      {
81
        $profile['form_type'] = 'textarea';
82
      }
83

  
75 84
      $this->conn->execute('INSERT INTO profile (id, name, is_required, is_unique, is_edit_public_flag, default_public_flag, form_type, value_type, is_disp_regist, is_disp_config, is_disp_search, value_regexp, value_min, value_max, sort_order, created_at, updated_at) VALUES (?, ?, ?, 0, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, NOW(), NOW())', array(
76 85
        $profile['c_profile_id'] , $profile['name']     , $profile['is_required'] , $profile['public_flag_edit'] , $publicFlagDefault ,
77 86
        $profile['form_type']    , $profile['val_type'] , $profile['disp_regist'] , $profile['disp_config']      , $profile['disp_search']         ,