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

Changeset 6517


Ignore:
Timestamp:
Apr 11, 2008, 1:21:43 PM (12 years ago)
Author:
cybaron
Message:

・アルバム画像追加時にファイル名にアルバムIDが付与されていなかったのを修正。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/branches/work/asano/pne_album/webapp/modules/pc/do/h_album_image_add_insert_c_album_image.php

    r6511 r6517  
    3737        $img_tmp_dir_path = OPENPNE_VAR_DIR . '/tmp/';
    3838        if($tmpfile_1){
    39             $filename_1 = image_insert_c_image_album4tmp("a_{$c_album_id}_1", $tmpfile_1);
     39            $filename_1 = image_insert_c_image_album4tmp("a_{$target_c_album_id}_1", $tmpfile_1);
    4040            $filesize_1 = filesize($img_tmp_dir_path . basename($tmpfile_1));
    4141        }
    4242        if($tmpfile_2){
    43             $filename_2 = image_insert_c_image_album4tmp("a_{$c_album_id}_2", $tmpfile_2);
     43            $filename_2 = image_insert_c_image_album4tmp("a_{$target_c_album_id}_2", $tmpfile_2);
    4444            $filesize_2 = filesize($img_tmp_dir_path . basename($tmpfile_2));
    4545        }
    4646        if($tmpfile_3){
    47             $filename_3 = image_insert_c_image_album4tmp("a_{$c_album_id}_3", $tmpfile_3);
     47            $filename_3 = image_insert_c_image_album4tmp("a_{$target_c_album_id}_3", $tmpfile_3);
    4848            $filesize_3 = filesize($img_tmp_dir_path . basename($tmpfile_3));
    4949        }
    5050        if($tmpfile_4){
    51             $filename_4 = image_insert_c_image_album4tmp("a_{$c_album_id}_4", $tmpfile_4);
     51            $filename_4 = image_insert_c_image_album4tmp("a_{$target_c_album_id}_4", $tmpfile_4);
    5252            $filesize_4 = filesize($img_tmp_dir_path . basename($tmpfile_4));
    5353        }
    5454        if($tmpfile_5){
    55             $filename_5 = image_insert_c_image_album4tmp("a_{$c_album_id}_5", $tmpfile_5);
     55            $filename_5 = image_insert_c_image_album4tmp("a_{$target_c_album_id}_5", $tmpfile_5);
    5656            $filesize_5 = filesize($img_tmp_dir_path . basename($tmpfile_5));
    5757        }
Note: See TracChangeset for help on using the changeset viewer.