Changeset 25789 for extensions/flickr2piwigo/include/ws_functions.inc.php
- Timestamp:
- Dec 4, 2013, 11:24:44 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/flickr2piwigo/include/ws_functions.inc.php
r24815 r25789 112 112 if (in_array('fill_taken', $photo['fills'])) $updates['date_creation'] = $photo['dates']['taken']; 113 113 if (in_array('fill_author', $photo['fills'])) $updates['author'] = pwg_db_real_escape_string($photo['owner']['username']); 114 if (in_array('fill_description', $photo['fills'])) $updates['comment'] = pwg_db_real_escape_string($photo['description']); 115 if (in_array('fill_geotag', $photo['fills']) and !empty($photo['location']) ) 116 { 117 $updates['lat'] = pwg_db_real_escape_string($photo['location']['latitude']); 118 $updates['lon'] = pwg_db_real_escape_string($photo['location']['longitude']); 119 } 114 120 115 121 if (count($updates))
Note: See TracChangeset
for help on using the changeset viewer.