diff --git a/main/newscorm/lp_admin_view.php b/main/newscorm/lp_admin_view.php index 726435f84a..c8ebb266a9 100644 --- a/main/newscorm/lp_admin_view.php +++ b/main/newscorm/lp_admin_view.php @@ -261,7 +261,7 @@ if (isset($_POST['save_audio'])) // adding something random to prevent overwriting $filename_components[count($filename_components)-1] = time(); // reconstructing the new filename - $clean_name = implode($filename_components) . $file_extension; + $clean_name = implode($filename_components) .'.'.$file_extension; // using the new name in the $_FILES superglobal $_FILES[$key]['name'] = $clean_name;