mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Fix typo in a0aeabbb94.
This commit is contained in:
@@ -433,7 +433,7 @@ def missing_uploads
|
||||
end
|
||||
|
||||
if file_path.present?
|
||||
if (upload = UploadCreator.new(File.open(file_path), File.basename(path)).create_for(Discourse.system_user.id)).presisted?
|
||||
if (upload = UploadCreator.new(File.open(file_path), File.basename(path)).create_for(Discourse.system_user.id)).persisted?
|
||||
upload_id = upload.id
|
||||
|
||||
post.reload
|
||||
|
||||
Reference in New Issue
Block a user