More hashes to get rid of.
This commit is contained in:
parent
f2ec122234
commit
5cac86d87f
@ -175,9 +175,9 @@ for ($i = 0; $i < $num_photos; $i += 50)
|
|||||||
[
|
[
|
||||||
'id_user_uploaded' => $old_user_id_to_new_user_id[$photo['owner_id']],
|
'id_user_uploaded' => $old_user_id_to_new_user_id[$photo['owner_id']],
|
||||||
'subdir' => $dirnames_by_old_album_id[$photo['parent_id']],
|
'subdir' => $dirnames_by_old_album_id[$photo['parent_id']],
|
||||||
'filename' => $photo['name'],
|
'filename' => str_replace('#', '', $photo['name']),
|
||||||
'title' => $photo['title'],
|
'title' => $photo['title'],
|
||||||
'slug' => $photo['relative_url_cache'],
|
'slug' => str_replace('#', '', urldecode($photo['relative_url_cache'])),
|
||||||
'mimetype' => $photo['mime_type'],
|
'mimetype' => $photo['mime_type'],
|
||||||
'image_width' => !empty($photo['width']) ? $photo['width'] : 'NULL',
|
'image_width' => !empty($photo['width']) ? $photo['width'] : 'NULL',
|
||||||
'image_height' => !empty($photo['height']) ? $photo['height'] : 'NULL',
|
'image_height' => !empty($photo['height']) ? $photo['height'] : 'NULL',
|
||||||
|
Loading…
Reference in New Issue
Block a user