mirror of
https://github.com/moodle/moodle.git
synced 2025-03-13 12:10:34 +01:00
MDL-28562 "automatic naming of file in convert_image not working"
there is an obvious typo in the code causing the problem. The use of an equality check instead of the intended assignment.
This commit is contained in:
parent
ca3e8e98a4
commit
0ea7fc2587
@ -950,7 +950,7 @@ class file_storage {
|
||||
}
|
||||
|
||||
if (!isset($file_record['filename'])) {
|
||||
$file_record['filename'] == $file->get_filename();
|
||||
$file_record['filename'] = $file->get_filename();
|
||||
}
|
||||
|
||||
if (!isset($file_record['mimetype'])) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user