diff --git a/MathValidator.php b/MathValidator.php index ad3bf2d..343658d 100644 --- a/MathValidator.php +++ b/MathValidator.php @@ -34,7 +34,7 @@ class MathValidator implements ValueValidator { // TeX string is not valid return Result::newError( array( - Error::newError( null, null, 'malformed-value', $checker->getError() ) + Error::newError( null, null, 'malformed-value', array( $checker->getError() ) ) ) ); }