Fix call to MathMathMLCli::getError
var_export prints the result, it needs a true argument to return a string Change-Id: I3c1275daf465044f1e22548a70e775069a6e94b6
This commit is contained in:
parent
33f9115e43
commit
6d4740fa4c
|
@ -52,7 +52,7 @@ class MathMathMLCli extends MathMathML {
|
||||||
if ( !property_exists( $res, $this->getMd5() ) ) {
|
if ( !property_exists( $res, $this->getMd5() ) ) {
|
||||||
$this->lastError =
|
$this->lastError =
|
||||||
$this->getError( 'math_mathoid_error', 'cli',
|
$this->getError( 'math_mathoid_error', 'cli',
|
||||||
var_export( get_object_vars( $res ) ) );
|
var_export( get_object_vars( $res ), true ) );
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if ( $this->isEmpty() ) {
|
if ( $this->isEmpty() ) {
|
||||||
|
|
Loading…
Reference in New Issue