Changeset 1719 for trunk/admin/include/functions.php
- Timestamp:
- Jan 13, 2007, 4:13:40 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/include/functions.php
r1717 r1719 529 529 ('.implode(',', $dbfields).') 530 530 VALUES'; 531 foreach ($datas as $insert_id => $insert) 531 $first = 1; 532 foreach ($datas as $insert) 532 533 { 533 534 $query.= ' 534 535 '; 535 if ($insert_id > 0) 536 if ($first) 537 { 538 $first = 0; 539 } 540 else 536 541 { 537 542 $query.= ','; … … 1891 1896 global $conf, $header_notes; 1892 1897 $count = 0; 1893 1898 1894 1899 if (($conf['show_exif']) and (!function_exists('read_exif_data'))) 1895 1900 {
Note: See TracChangeset
for help on using the changeset viewer.