This commit is contained in:
邱博亞 2024-08-04 15:39:48 +08:00
parent 7127cd2fcb
commit baf3b92942
1 changed files with 1 additions and 1 deletions

View File

@ -570,7 +570,7 @@ class Admin::GalleriesController < OrbitAdminController
album_unprocess = AlbumUnprocess.new()
files.each do |file|
image = album.album_images.new
image.tags = (album.tags rescue [])
image.tags = album.tag_ids.map(&:to_s)
if(AlbumVariable.first.count==1 rescue true)
image.file = file
else