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

Changeset 12598


Ignore:
Timestamp:
Aug 11, 2009, 5:16:34 PM (11 years ago)
Author:
kiwa
Message:

#4227:アルバム情報変更(db_album_image_data_delete)の携帯版では使用しない引数にデフォルト値を指定した(trunk)

Location:
OpenPNE/trunk/webapp
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/trunk/webapp/lib/db/album.php

    r11363 r12598  
    390390
    391391
    392 function db_album_update_c_album($c_album_id,$subject,$description,$public_flag,$image_filename)
     392function db_album_update_c_album($c_album_id,$subject,$description,$public_flag,$image_filename = null)
    393393{
    394394    $data = array(
  • OpenPNE/trunk/webapp/modules/ktai/do/h_album_edit_insert_c_album.php

    r12583 r12598  
    4545                handle_kengen_error();
    4646            }
    47             db_album_update_c_album($target_c_album_id, $subject, $description, $public_flag, $image_filename);
     47            db_album_update_c_album($target_c_album_id, $subject, $description, $public_flag);
    4848            $p = array('target_c_album_id' => $target_c_album_id  );
    4949            openpne_redirect('ktai', 'page_fh_album', $p);
  • OpenPNE/trunk/webapp/modules/pc/do/h_album_cover_edit_insert_c_album.php

    r11363 r12598  
    6262
    6363        if ($tmpfile_1) {
    64             db_album_image_data_delete($c_album_cover);
     64            db_album_image_data_delete($c_album_cover, $u);
    6565            $filename_1 = image_insert_c_image4tmp("a_{$target_c_album_id}_1", $tmpfile_1, $u, 'other');
    6666        }
Note: See TracChangeset for help on using the changeset viewer.