Changeset 903
- Timestamp:
- Oct 19, 2005, 11:56:53 PM (19 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/include/functions_metadata.php
r862 r903 136 136 if (count($datas) > 0) 137 137 { 138 $update_fields = array('filesize','width','height','date_metadata_update'); 138 $update_fields = 139 array( 140 'filesize', 141 'width', 142 'height', 143 'date_metadata_update' 144 ); 145 139 146 if ($conf['use_exif']) 140 147 { 141 array_push($update_fields, 'date_creation'); 142 } 148 $update_fields = 149 array_merge( 150 $update_fields, 151 array_keys($conf['use_exif_mapping']) 152 ); 153 } 154 143 155 if ($conf['use_iptc']) 144 156 { 145 $update_fields = array_merge($update_fields, 146 array_keys($conf['use_iptc_mapping'])); 147 } 148 149 $fields = array('primary' => array('id'), 150 'update' => array_unique($update_fields)); 157 $update_fields = 158 array_merge( 159 $update_fields, 160 array_keys($conf['use_iptc_mapping']) 161 ); 162 } 163 164 $fields = 165 array( 166 'primary' => array('id'), 167 'update' => array_unique($update_fields) 168 ); 151 169 mass_updates(IMAGES_TABLE, $fields, $datas); 152 170 } -
trunk/doc/ChangeLog
r902 r903 1 2005-10-18 Pierrick LE GALL 2 3 * bug 174 fixed: use_exif_mapping configuration parameter was not 4 used to list database fields to update from EXIF values. 5 1 6 2005-10-18 Pierrick LE GALL 2 7
Note: See TracChangeset
for help on using the changeset viewer.