Changeset 1127
- Timestamp:
- Apr 5, 2006, 8:02:10 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/include/functions_metadata.php
r1121 r1127 51 51 if (isset($iptc['keywords'])) 52 52 { 53 // keywords separator is the comma 53 // official keywords separator is the comma 54 $iptc['keywords'] = preg_replace('/[.;]/', ',', $iptc['keywords']); 54 55 $iptc['keywords'] = preg_replace('/^,+|,+$/', '', $iptc['keywords']); 55 56 } … … 181 182 } 182 183 183 $fields = 184 mass_updates( 185 IMAGES_TABLE, 184 186 array( 185 187 'primary' => array('id'), 186 188 'update' => array_unique($update_fields) 187 ) ;188 echo '<pre>'; print_r($datas); echo '</pre>';189 mass_updates(IMAGES_TABLE, $fields, $datas);190 } 191 192 set_tags_of( tags_of);189 ), 190 $datas 191 ); 192 } 193 194 set_tags_of($tags_of); 193 195 } 194 196
Note: See TracChangeset
for help on using the changeset viewer.