Argument #4 for ValueValidators\Error::newError() needs to be an array
Bug: T127077 Change-Id: I894d8b1bab4d0cd441b0895c37611a82754889df
This commit is contained in:
parent
aa1af7a207
commit
60be82476b
|
@ -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() ) )
|
||||
)
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue