Changeset 24815 for extensions/flickr2piwigo/include/ws_functions.inc.php
- Timestamp:
- Oct 9, 2013, 3:18:02 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/flickr2piwigo/include/ws_functions.inc.php
r24660 r24815 108 108 109 109 $updates = array(); 110 if (in_array('fill_name', $photo['fills'])) $updates['name'] = $photo['title'];110 if (in_array('fill_name', $photo['fills'])) $updates['name'] = pwg_db_real_escape_string($photo['title']); 111 111 if (in_array('fill_posted', $photo['fills'])) $updates['date_available'] = date('Y-m-d H:i:s', $photo['dates']['posted']); 112 112 if (in_array('fill_taken', $photo['fills'])) $updates['date_creation'] = $photo['dates']['taken']; 113 if (in_array('fill_author', $photo['fills'])) $updates['author'] = $photo['owner']['username'];113 if (in_array('fill_author', $photo['fills'])) $updates['author'] = pwg_db_real_escape_string($photo['owner']['username']); 114 114 115 115 if (count($updates))
Note: See TracChangeset
for help on using the changeset viewer.