[svn r20775]

skala
Patrick Cool 16 years ago
parent 624bd42c1e
commit 2dd88c1006
  1. 2
      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;

Loading…
Cancel
Save