From 421f1efcaabb0c641c1fa41d16229aca2166b786 Mon Sep 17 00:00:00 2001 From: Isabel <isabel-andrea.uffinger@stud.hs-hannover.de> Date: Thu, 11 Apr 2024 13:19:29 +0200 Subject: [PATCH] updated exception message --- locallib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/locallib.php b/locallib.php index 7d6ea83..d33727d 100644 --- a/locallib.php +++ b/locallib.php @@ -301,7 +301,7 @@ function get_text_content_from_file($usercontext, $draftareaid, $keepfilename, $ } else { $enc = mb_detect_encoding($content, null, true); if($enc===false){ - throw new invalid_parameter_exception('Encoding of attached file ' . $filepath . $filename . 'could\'nt be detectet.'); + throw new invalid_parameter_exception('Encoding of attached file ' . $filepath . $filename . ' could\'nt be detectet.'); } } if($enc!=='UTF-8'){ -- GitLab