diff --git a/h5p.classes.php b/h5p.classes.php index 78d6d06..3478f23 100644 --- a/h5p.classes.php +++ b/h5p.classes.php @@ -2046,7 +2046,7 @@ class H5PCore { * @return {boolean} True, if params contain math. */ private function containsMath ($params, $mathPattern, $found = false) { - if (!isset($mathPattern) == NULL) { + if (!isset($mathPattern)) { $mathPattern = '/\$\$.+\$\$|\\\[.+\\\]|\\\(.+\\\)/'; } foreach($params as $property => $value) {