From: stronk7 Date: Sun, 1 Jun 2003 19:58:08 +0000 (+0000) Subject: Due to problems in the FileManager with filenames containing spaces X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=a9367f2644857111ce6bbbff33ec01974629ff73;p=moodle.git Due to problems in the FileManager with filenames containing spaces force a replace from spaces to underscores --- diff --git a/backup/backup_check.html b/backup/backup_check.html index b08cb9b451..b38326475b 100644 --- a/backup/backup_check.html +++ b/backup/backup_check.html @@ -77,7 +77,8 @@ echo get_string("name").":"; echo ""; //Calculate the backup string - $backup_name = strtolower(get_string("backup")); + //Take off spaces in the filename !! + $backup_name = str_replace(" ","_",strtolower(get_string("backupfilename"))); //If non-translated, use "backup" if (substr($backup_name,0,1) == "[") { $backup_name = "backup";