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

Changeset 3062


Ignore:
Timestamp:
May 21, 2007, 2:37:15 PM (12 years ago)
Author:
ebihara
Message:

#780:予定編集時、期間設定や内容、参加者などの値がエラー遷移時に保持されていなかったバグの修正

Location:
OpenPNE/branches/2.8.x/webapp_biz/modules/biz
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/branches/2.8.x/webapp_biz/modules/biz/page/fh_biz_schedule_edit.php

    r3005 r3062  
    99    function execute($requests)
    1010    {
    11 
    1211        $u = $GLOBALS['AUTH']->uid();
    1312
     
    1817        $form_val['subject'] = $requests['subject'];
    1918        $form_val['body'] = $requests['body'];
     19
     20        $this->set('banner', $requests['sc_bn']);
     21
     22        if ($requests['sc_memo']) {
     23            $requests['value'] = $requests['sc_memo'];
     24        }
    2025
    2126        if ($requests['sc_b_year'] && $requests['sc_b_month'] && $requests['sc_b_date']) {
     
    195200        $this->set('target_biz_group_id', $schedule['biz_group_id']);
    196201
    197         $this->set('public_flag', $schedule['public_flag']);
     202        if ($requests['public_flag']) {
     203            $this->set('public_flag', $requests['public_flag']);
     204        } else {
     205            $this->set('public_flag', $schedule['public_flag']);
     206        }
    198207       
    199208        //追加
     
    201210            $j_members = array_keys(unserialize($requests['members']));
    202211            sort($j_members);
     212        } elseif($requests['sc_j_mem']) {
     213            $j_members = $requests['sc_j_mem'];
    203214        } else {
    204215            $j_members = biz_getJoinMemberSchedule($requests['schedule_id']);
  • OpenPNE/branches/2.8.x/webapp_biz/modules/biz/validate/page/fh_biz_schedule_edit.ini

    r3005 r3062  
    8787required = 0
    8888caption = "終了分"
     89
     90[sc_memo]
     91type = "string"
     92required = 0
     93
     94[sc_bn]
     95type="string"
     96required = 0
     97
     98[public_flag]
     99type="string"
     100required=0
     101
     102[sc_j_mem]
     103type="int"
     104is_array=1
     105required=0
Note: See TracChangeset for help on using the changeset viewer.