From 4b5a2ff8eed41372b9bd418a17437db4b4f87d09 Mon Sep 17 00:00:00 2001 From: Matt Pass Date: Sun, 25 Aug 2019 14:43:57 +0100 Subject: [PATCH] No message for toUTF8noBOM in this case --- lib/file-control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/file-control.php b/lib/file-control.php index 5040442..9942815 100644 --- a/lib/file-control.php +++ b/lib/file-control.php @@ -101,7 +101,7 @@ if ($_GET['action']=="load") { exit; } // Get our file contents and close the FTP connection - $loadedFile = toUTF8noBOM(ftpGetContents($ftpConn, $ftpRoot.$fileLoc."/".$fileName, $ftpMode)); + $loadedFile = toUTF8noBOM(ftpGetContents($ftpConn, $ftpRoot.$fileLoc."/".$fileName, $ftpMode),false); ftpEnd(); // Get local file } else {