diff --git a/h5p.classes.php b/h5p.classes.php index 3a754f0..d4aed45 100644 --- a/h5p.classes.php +++ b/h5p.classes.php @@ -2487,7 +2487,7 @@ class H5PCore { // Prevent to long slug if (strlen($input) > 91) { - $inputsubstr($input, 0, 92); + $input = substr($input, 0, 92); } // Prevent empty slug