Changeset 6567
- Timestamp:
- Apr 16, 2008, 6:32:40 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
OpenPNE/trunk/webapp/lib/db/album.php
r6562 r6567 507 507 { 508 508 $data = array( 509 510 511 512 ); 513 514 509 'c_album_id'=>$c_album_id, 510 'image_description'=>$image_description, 511 'r_datetime' => db_now(), 512 ); 513 514 if ($image_filename) { 515 515 $data['image_filename'] = $image_filename; 516 516 $data['filesize'] = $image_size; 517 } 518 519 return db_insert('c_album_image', $data); 517 } 518 519 $insert_id = db_insert('c_album_image', $data); 520 if ($insert_id) { 521 db_album_update_c_album_u_datetime($c_album_id); 522 } 523 524 return $insert_id; 520 525 } 521 526
Note: See TracChangeset
for help on using the changeset viewer.