diff --git a/locallib.php b/locallib.php index 7d6ea832954c7b149fa70e3698caa3ca069e4859..d33727d3872eb90f8579f23c59a1ab1c5919e84c 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'){