From cd2f4a87a465731575f2caf4c3653c95b22b5db2 Mon Sep 17 00:00:00 2001 From: David Monllao Date: Thu, 24 Jul 2014 11:15:36 +0800 Subject: [PATCH] MDL-46504 libraries: Fixing typo --- lib/csvlib.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/csvlib.class.php b/lib/csvlib.class.php index 1df60c4014f..b03f48a5320 100644 --- a/lib/csvlib.class.php +++ b/lib/csvlib.class.php @@ -104,7 +104,7 @@ class csv_import_reader { // Create a temporary file and store the csv file there, // do not try using fgetcsv() because there is nothing // to split rows properly - fgetcsv() itself can not do it. - $tempfile = tempnam(make_temp_directory('/cvsimport'), 'tmp'); + $tempfile = tempnam(make_temp_directory('/csvimport'), 'tmp'); if (!$fp = fopen($tempfile, 'w+b')) { $this->_error = get_string('cannotsavedata', 'error'); @unlink($tempfile); -- 2.11.4.GIT